HttpMessage::getResponseStatus
HttpMessage::guessContentType
The HttpMessage class
PHP Manual

# HttpMessage::getType

(PECL pecl_http:0.10.0-1.5.5)

HttpMessage::getType — Get message type

### Descrição

public int HttpMessage::getType ( void )

Get Message Type. Either `HTTP_MSG_NONE`, `HTTP_MSG_REQUEST` or `HTTP_MSG_RESPONSE`.

### Valor Retornado

Returns the HttpMessage::`TYPE`.

HttpMessage::getResponseStatus
HttpMessage::guessContentType
The HttpMessage class
PHP Manual