mdref.json config
[mdref/mdref-http] / http / Message / getInfo.md
1 # string http\Message::getInfo()
2
3 Retrieve the first line of a request or response message.
4 See http\Message::setInfo and also:
5
6 * http\Message::getType()
7 * http\Message::getHttpVersion()
8 * http\Message::getResponseCode()
9 * http\Message::getResponseStatus()
10 * http\Message::getRequestMethod()
11 * http\Message::getRequestUrl()
12
13 ## Params:
14
15 None.
16
17 ## Returns:
18
19 * string, the HTTP message information.
20 * NULL, if the message is neither of type request nor response.
21