HttpRequest::getHistory
HttpRequest::getOptions
The HttpRequest
PHP Manual

# HttpRequest::getMethod

(PECL pecl_http >= 0.10.0)

HttpRequest::getMethod — Get method

### Descripción

public int HttpRequest::getMethod ( void )

Get the previously set request method.

### Valores retornados

Returns the currently set request method.

HttpRequest::getHistory
HttpRequest::getOptions
The HttpRequest
PHP Manual