© 本文檔使用 php中文網手册 發布
(PECL pecl_http >= 0.10.0)
HttpMessage::getType — Get message type
Get Message Type. Either HTTP_MSG_NONE , HTTP_MSG_REQUEST or HTTP_MSG_RESPONSE .
HTTP_MSG_NONE
HTTP_MSG_REQUEST
HTTP_MSG_RESPONSE
Returns the HttpMessage:: TYPE .
TYPE