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
17 * http\Exception\InvalidArgumentException
18 * http\Exception\BadMethodCallException
23 $message = new http\Message;
24 $message->setType(http\Message::TYPE_RESPONSE);
25 $message->setResponseCode(200);
26 $message->setResponseStatus("Ok");