message
[mdref/mdref-http] / http / Message / setResponseCode.md
1 # http\Message http\Message::setResponseCode(int $response_code)
2
3 Set the response status code.
4 See http\Message::getResponseCode() and http\Message::setResponseStatus().
5
6 ## Params:
7
8 * int $response_code
9 The response code.
10
11 ## Returns:
12
13 * http\Message, self.
14 * false, if the message is not of type response.
15