The HttpMessage class
PHP Manual

HttpMessage::getHeaders

(PECL pecl_http >= 0.10.0)

HttpMessage::getHeadersGet message headers

Описание

public array HttpMessage::getHeaders ( void )

Get message headers.

Возвращаемые значения

Returns an associative array containing the messages HTTP headers.


The HttpMessage class
PHP Manual