JavaScript Editor Javascript debugger     Website design 

HttpRequest::addHeaders

Add headers ()
bool HttpRequest::addHeaders ( array headers )

Add request header name/value pairs.

Parameters

headers

an associative array as parameter containing additional header name/value pairs

Return Values

Returns TRUE on success or FALSE on failure.