We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5643853 commit 71cff04Copy full SHA for 71cff04
components/http_client.rst
@@ -417,6 +417,9 @@ Or throw an exception from a progress callback::
417
The exception will be wrapped in an instance of ``TransportExceptionInterface``
418
and will abort the request.
419
420
+In case the response was canceled using ``$response->cancel()``,
421
+``$response->getInfo('canceled')`` will return ``true``.
422
+
423
Handling Exceptions
424
~~~~~~~~~~~~~~~~~~~
425
0 commit comments