HttpRequest::getCookies
HttpRequest::getHistory
The HttpRequest
PHP Manual

# HttpRequest::getHeaders

(PECL pecl_http >= 0.10.0)

HttpRequest::getHeaders — Get headers

### Descrição

public array HttpRequest::getHeaders ( void )

Get previously set request headers.

### Valor Retornado

Returns an associative array containing all currently set headers.

HttpRequest::getCookies
HttpRequest::getHistory
The HttpRequest
PHP Manual