HttpMessage
在线手册:中文  英文

HttpMessage::getType

(PECL pecl_http >= 0.10.0)

HttpMessage::getTypeGet message type

说明

public int HttpMessage::getType ( void )

Get Message Type. Either HTTP_MSG_NONE, HTTP_MSG_REQUEST or HTTP_MSG_RESPONSE.

返回值

Returns the HttpMessage::TYPE.


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