HttpMessage::setResponseStatus
HttpMessage::toMessageTypeObject
The HttpMessage class
PHP Manual

# HttpMessage::setType

(PECL pecl_http:0.10.0-1.5.5)

HttpMessage::setType — Set message type

### Opis

public void HttpMessage::setType ( int `$type` )

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

### Parametry

`type`

  the HttpMessage::TYPE

HttpMessage::setResponseStatus
HttpMessage::toMessageTypeObject
The HttpMessage class
PHP Manual