X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FClient%2Fenqueue.md;h=25889a7c9b0062eac1a4624e3683d50a9e7f12ba;hb=9620c25e36f35fce0b77dedeedd97b6125b257ed;hp=a863710d083d34c670d917cd5835217b6ec04aaf;hpb=2b09d7f121ca08d377575364f8ef25ac7a6bcb50;p=mdref%2Fmdref-http diff --git a/http/Client/enqueue.md b/http/Client/enqueue.md index a863710..25889a7 100644 --- a/http/Client/enqueue.md +++ b/http/Client/enqueue.md @@ -5,7 +5,7 @@ If the optional callback $cb returns true, the request will be automatically deq > ***Note:*** > The http\Client\Response object resulting from the request is always stored -> internally to be retreived at a later time, __even__ when $cb is used. +> internally to be retrieved at a later time, __even__ when $cb is used. > > If you are about to send a lot of requests and do __not__ need the response > after executing the callback, you can use http\Client::getResponse() within @@ -18,7 +18,7 @@ See http\Client::dequeue() and http\Client::send(). * http\Client\Request $request The request to enqueue. -* Optional callable $cb +* Optional callable $cb as function(\http\Response $response) : ?bool A callback to automatically call when the request has finished. ## Returns: