diff --git a/components/http_client.rst b/components/http_client.rst index 22000ea627d..c8405954bba 100644 --- a/components/http_client.rst +++ b/components/http_client.rst @@ -290,7 +290,7 @@ called when new data is uploaded or downloaded and at least once per second:: // $dlSize is the total size to be downloaded or -1 if it is unknown // $info is what $response->getInfo() would return at this very time }, - ]; + ]); Any exceptions thrown from the callback will be wrapped in an instance of ``TransportExceptionInterface`` and will abort the request.