http\Message http\Message::setType(int $type)

Set the message type and reset the message info. See http\Message::getType() and http\Message::setInfo().

Params:

Returns: