HttpRequest
在线手册:中文  英文

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.


HttpRequest
在线手册:中文  英文
易百教程