update : 2015.11.03
php.shukuma.com

검색:
 
 
HttpMessage constructor

HttpMessage::__construct

(PECL pecl_http >= 0.10.0)

HttpMessage::__constructHttpMessage constructor

설명

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

인수

message

a single or several consecutive HTTP messages

오류/예외

Throws HttpMalformedHeaderException.