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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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