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.