HttpMessage
PHP Manual

HttpMessage::getHeader

(PECL pecl_http >= 1.1.0)

HttpMessage::getHeaderGet header

Descrierea

public string HttpMessage::getHeader ( string $header )

Get message header.

Parametri

header

header name

Valorile întoarse

Returns the header value on success or NULL if the header does not exist.


HttpMessage
PHP Manual