1 # http\Message http\Message::setResponseStatus(string $response_status)
3 Set the response status phrase.
4 See http\Message::getResponseStatus() and http\Message::setResponseCode().
8 * string $response_status
14 * false, if the message is not of type response.
18 * E_MESSAGE_TYPE, if the message is not of type response.
24 $message = new http\Message;
25 $message->setType(http\Message::TYPE_RESPONSE);
26 $message->setResponseCode(200);
27 $message->setResponseStatus("Ok");