projects
/
mdref
/
mdref-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
consolidate notes
[mdref/mdref-http]
/
http
/
Message
/
setRequestUrl.md
diff --git
a/http/Message/setRequestUrl.md
b/http/Message/setRequestUrl.md
index 9c6663debb05f87a9a45e179ebdc2252ab2087eb..766b3d1c9ca0b394fb28511780048e2ff5408bc1 100644
(file)
--- 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.
## Returns:
* http\Message, self.
-* false, if the message was not of type request.
-##
Notice
s:
+##
Throw
s:
-* 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:
## 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.
<?php
$m = new http\Message;
<?php
$m = new http\Message;