projects
/
mdref
/
mdref-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
update for 4.1.0
[mdref/mdref-http]
/
http
/
Client
/
getResponse.md
diff --git
a/http/Client/getResponse.md
b/http/Client/getResponse.md
index e2dc7ca2e6836dc4978613511e37814fe5679979..d47fa5a33f578a6d0dc0a56b5319ad59d6bd9c99 100644
(file)
--- a/
http/Client/getResponse.md
+++ b/
http/Client/getResponse.md
@@
-1,8
+1,9
@@
# http\Client\Response http\Client::getResponse([http\Client\Request $request = NULL])
# http\Client\Response http\Client::getResponse([http\Client\Request $request = NULL])
-Retrieve the corresponding reponse of an already finished request, or the last received response if $request is not set.
+Retrieve the corresponding re
s
ponse of an already finished request, or the last received response if $request is not set.
-> **Note:** If $request is NULL, then the response is removed from the internal storage (stack-like operation).
+> ***NOTE:***
+> If $request is NULL, then the response is removed from the internal storage (stack-like operation).
## Params:
## Params:
@@
-12,7
+13,12
@@
Retrieve the corresponding reponse of an already finished request, or the last r
## Returns:
* http\Client\Response, the stored response for the request, or the last that was received.
## Returns:
* http\Client\Response, the stored response for the request, or the last that was received.
-* NULL, if no response was found.
+* NULL, if no more response was available to pop, when no $request was given.
+
+## Throws:
+
+* http\Exception\InvalidArgumentException
+* http\Exception\UnexpectedValueException
## Example:
## Example: