Scholar Repository
Home>Manual>Get message headers

Get message headers


HttpMessage::getHeaders

(PECL pecl_http >= 0.10.0)

HttpMessage::getHeadersGet message headers

Description

public array HttpMessage::getHeaders ( void )

Get message headers.

Return Values

Returns an associative array containing the messages HTTP headers.


Home>Manual>Get message headers