mdref.json config
[mdref/mdref-http] / http / Message / getRequestMethod.md
1 # string http\Message::getRequestMethod()
2
3 Retrieve the request method of the message.
4 See http\Message::setRequestMethod() and http\Message::getRequestUrl().
5
6 ## Params:
7
8 None.
9
10 ## Returns:
11
12 * string, the request method.
13 * false, if the message was not of type request.
14
15 ## Warnings:
16
17 * If the message is not of type request.