X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=http%2FMessage%2FsetRequestMethod.md;h=2ec295eef7c8ddad8d9505e740d08771a47d91d8;hb=91c46438fed4c472407edaafe11442e4697317a4;hp=a15e9c12222ba21e3d4141ade8b7b523c8b13ccb;hpb=38ba1c26cfc9bc075be2173cadad4137a7879b32;p=mdref%2Fmdref-http diff --git a/http/Message/setRequestMethod.md b/http/Message/setRequestMethod.md index a15e9c1..2ec295e 100644 --- a/http/Message/setRequestMethod.md +++ b/http/Message/setRequestMethod.md @@ -11,12 +11,8 @@ See http\Message::getRequestMethod() and http\Message::setRequestUrl(). ## Returns: * http\Message, self. -* false, if the message was not of type request. -## Notices: +## Throws: -* E_MESSAGE_TYPE, if the message is not of type request. - -## Warnings: - -* E_INVALID_PARAM, if the method is of zero length. +* http\Exception\InvalidArgumentException +* http\Exception\BadMethodCallException