SunshinePHP Developer Conference 2015

HttpMessage::setType

(PECL pecl_http >= 0.10.0)

HttpMessage::setTypeSet message type

Description

public void HttpMessage::setType ( int $type )

Set Message Type. Either HTTP_MSG_NONE, HTTP_MSG_REQUEST or HTTP_MSG_RESPONSE.

Parameters

type

the HttpMessage::TYPE_*

add a note add a note

User Contributed Notes

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