519c09d736b7e55cc842a8854aa5f8d1937b89a6
[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 ## Warnings:
16
17 * If the message is not of type response.