1 # http\Message http\Message::setRequestMethod(string $method)
3 Set the request method of the message.
4 See http\Message::getRequestMethod() and http\Message::setRequestUrl().
14 * false, if the message was not of type request.
18 * E_MESSAGE_TYPE, if the message is not of type request.
22 * E_INVALID_PARAM, if the method is of zero length.