mdref.json config
[mdref/mdref-http] / http / Client / requeue.md
index 1a3d6fe48d48cd0ccc923c57854feb1d48301644..d3abe83fd5a4881c258be4e212ff95c4b9a4ec6f 100644 (file)
@@ -1,4 +1,4 @@
-# http\Client http\Client::requeue(http\Client\Request $request)
+# http\Client http\Client::requeue(http\Client\Request $request[, callable $cb])
 
 Requeue an http\Client\Request.
 
@@ -9,7 +9,14 @@ The difference simply is, that this method, in contrast to http\Client::enqueue(
 
 * http\Client\Request $request  
   The request to queue.
-
+* Optional callable $cb as function(\http\Response $response) : ?bool  
+  A callback to automatically call when the request has finished.
 ## Returns:
 
 * http\Client, self.
+
+## Throws:
+
+* http\Exception\InvalidArgumentException
+* http\Exception\RuntimeException