Get message type

HttpMessage::getType

(PECL pecl_http >= 0.10.0)

HttpMessage::getTypeGet message type

Description

public int HttpMessage::getType ( void )

Get Message Type. Either HTTP_MSG_NONE, HTTP_MSG_REQUEST or HTTP_MSG_RESPONSE.

Return Values

Returns the HttpMessage::TYPE.


Customers Area | Contact us | Affiliates