HttpRequest
PHP Manual

HttpRequest::getHeaders

(PECL pecl_http >= 0.10.0)

HttpRequest::getHeadersGet headers

Opis

public array HttpRequest::getHeaders ( void )

Get previously set request headers.

Zwracane wartoĊ›ci

Returns an associative array containing all currently set headers.


HttpRequest
PHP Manual