2.1.0
[mdref/mdref-http] / http / Client / requeue.md
1 # http\Client http\Client::requeue(http\Client\Request $request)
2
3 Requeue an http\Client\Request.
4
5 The difference simply is, that this method, in contrast to http\Client::enqueue(), does not throw an http\Exception when the request to queue is already enqueued and dequeues it automatically prior enqueueing it again.
6
7
8 ## Params:
9
10 * http\Client\Request $request
11 The request to queue.
12
13 ## Returns:
14
15 * http\Client, self.
16
17 ## Throws:
18
19 * http\Exception\InvalidArgumentException
20 * http\Exception\RuntimeException