PYTHON HttpMessage::setType

(0)
Python replacement for PHP's HttpMessage::setType [ edit ]



Do you know a Python replacement for PHP's HttpMessage::setType ? Write it!

PHP HttpMessage::setType

PHP original manual for HttpMessage::setType [ show | php.net ]

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