HttpMessage::getHeader
HttpMessage::getHttpVersion
The HttpMessage class
PHP Manual

# HttpMessage::getHeaders

(PECL pecl_http >= 0.10.0)

HttpMessage::getHeaders — Get message headers

### Opis

public array HttpMessage::getHeaders ( void )

Get message headers.

### Zwracane wartości

Returns an associative array containing the messages HTTP headers.

HttpMessage::getHeader
HttpMessage::getHttpVersion
The HttpMessage class
PHP Manual