The HttpRequest
PHP Manual

HttpRequest::getHeaders

(PECL pecl_http >= 0.10.0)

HttpRequest::getHeadersGet headers

설명

public array HttpRequest::getHeaders ( void )

Get previously set request headers.

반환값

Returns an associative array containing all currently set headers.


The HttpRequest
PHP Manual