# EventHttpRequest::getCommand

(PECL event >= 1.4.0-beta)

EventHttpRequest::getCommand — Returns 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.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open