JavaScript Editor Javascript debugger     Website design 


HttpMessage::setHeaders

Set headers ()
void HttpMessage::setHeaders ( array headers )

Sets new headers.

Parameters

headers

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