EventHttpRequest::getCommand

(PECL event >= 1.4.0-beta)

EventHttpRequest::getCommandReturns the request command(method)

说明

public EventHttpRequest::getCommand ( ) : void

Returns the request command, one of EventHttpRequest::CMD_* constants.

参数

此函数没有参数。

返回值

Returns the request command, one of EventHttpRequest::CMD_* constants.