© 本文档使用 PHP中文网手册 发布
(PECL pecl_http >= 0.10.0)
HttpMessage::setHeaders — Set headers
$headers
Sets new headers.
headers
associative array containing the new HTTP headers, which will replace all previous HTTP headers of the message