Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL

HttpMessage::__construct

(PECL pecl_http >= 0.10.0)

HttpMessage::__constructHttpMessage constructor

Descrizione

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().

Elenco dei parametri

message

a single or several consecutive HTTP messages

Errori/Eccezioni

Throws HttpMalformedHeaderException.

add a note add a note

User Contributed Notes

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