mdref.json config
[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\Message::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.