X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FMessage%2FsetRequestUrl.md;h=766b3d1c9ca0b394fb28511780048e2ff5408bc1;hb=a6882b68705828177d779e0dee653f79e0569155;hp=9c6663debb05f87a9a45e179ebdc2252ab2087eb;hpb=38ba1c26cfc9bc075be2173cadad4137a7879b32;p=mdref%2Fmdref-http diff --git a/http/Message/setRequestUrl.md b/http/Message/setRequestUrl.md index 9c6663d..766b3d1 100644 --- a/http/Message/setRequestUrl.md +++ b/http/Message/setRequestUrl.md @@ -11,19 +11,16 @@ See http\Message::getRequestUrl() and http\Message::setRequestMethod(). ## 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 url is of zero length. +* http\Exception\InvalidArgumentException +* http\Exception\BadMethodCallException ## Example: -> **Note:** The request URL in a request message usually only consists of the path and the querystring. +> ***NOTE:*** +> The request URL in a request message usually only consists of the path and the querystring.