The HttpMessage class
PHP Manual

HttpMessage::getHeader

(PECL pecl_http >= 1.1.0)

HttpMessage::getHeaderGet header

설명

public string HttpMessage::getHeader ( string $header )

Get message header.

인수

header

header name

반환값

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


The HttpMessage class
PHP Manual