From 7c2e9b022007702ad194df04d6b5d2647b63ff0f Mon Sep 17 00:00:00 2001 From: jmsche Date: Wed, 19 Jun 2019 08:33:52 +0200 Subject: [PATCH] [HttpClient] Fixed missing parenthesis [HttpClient] Fixed missing parenthesis in Progress callback example --- components/http_client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.