HttpMessage
在线手册:中文  英文

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.


HttpMessage
在线手册:中文  英文
易百教程