message
[mdref/mdref-http] / http / Message / getResponseCode.md
1 # int http\Message::getResponseCode()
2
3 Retrieve the response code of the message.
4 See http\Message::setResponseCode() and http\Massage::getResponseStatus().
5
6 ## Params:
7
8 None.
9
10 ## Returns:
11
12 * int, the response status code.
13 * false, if the message is not of type response.
14
15 ## Notices:
16
17 * E_MESSAGE_TYPE, if the message is not of type response.