HttpMessage::detach> <HttpMessage::addHeaders
Last updated: Fri, 24 Feb 2012

HttpMessage::__construct

(PECL pecl_http >= 0.10.0)

HttpMessage::__constructHttpMessage constructor

Descrição

public HttpMessage::__construct ([ string $message ] )

Instantiate a new HttpMessage object.

The constructed object will actually represent the last message of the passed string. If there were prior messages, those can be accessed by HttpMessage::getParentMessage().

Parâmetros

message

a single or several consecutive HTTP messages

Erros

Throws HttpMalformedHeaderException.



User Contributed Notes
HttpMessage::__construct
There are no user contributed notes for this page.

HttpMessage::detach> <HttpMessage::addHeaders
Last updated: Fri, 24 Feb 2012