update : 2015.11.03
php.shukuma.com

검색:
 
 
Set headers

HttpMessage::setHeaders

(PECL pecl_http >= 0.10.0)

HttpMessage::setHeadersSet headers

설명

public void HttpMessage::setHeaders ( array $headers )

Sets new headers.

인수

headers

associative array containing the new HTTP headers, which will replace all previous HTTP headers of the message