PHP 7.2.0 Release Candidate 2 Released


(PECL pecl_http >= 0.10.0)

HttpMessage::setHeadersSet headers


public void HttpMessage::setHeaders ( array $headers )

Sets new headers.

Elenco dei parametri


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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top