HttpMessage::getBody
HttpMessage::getHeaders
The HttpMessage class
PHP Manual

# HttpMessage::getHeader

(PECL pecl_http >= 1.1.0)

HttpMessage::getHeader — Get 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.

HttpMessage::getBody
HttpMessage::getHeaders
The HttpMessage class
PHP Manual