projects
/
mdref
/
mdref-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
header parser docs
[mdref/mdref-http]
/
http
/
Message
/
setRequestMethod.md
diff --git
a/http/Message/setRequestMethod.md
b/http/Message/setRequestMethod.md
index a15e9c12222ba21e3d4141ade8b7b523c8b13ccb..2ec295eef7c8ddad8d9505e740d08771a47d91d8 100644
(file)
--- 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.
## 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 method is of zero length.
+* http\Exception\InvalidArgumentException
+* http\Exception\BadMethodCallException