HttpMessage::setHeaders

(PECL pecl_http >= 0.10.0)

HttpMessage::setHeadersSet headers

Description

public 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


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout