# EventHttpRequest::getCommand

(PECL event >= 1.4.0-beta)

EventHttpRequest::getCommand — Returns the request command(method)

### Descripción

public EventHttpRequest::getCommand(): void

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

### Parámetros

Esta función no tiene parámetros.

### Valores devueltos

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