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 f7066fb commit d36ccd4Copy full SHA for d36ccd4
http_client.rst
@@ -360,9 +360,9 @@ immediately instead of waiting to receive the response::
360
// getting the response headers waits until they arrive
361
$contentType = $response->getHeaders()['content-type'][0];
362
363
- // trying to get the response contents will block the execution until
364
- // the full response contents are received
365
- $contents = $response->getContent();
+ // trying to get the response content will block the execution until
+ // the full response content is received
+ $content = $response->getContent();
366
367
This component also supports :ref:`streaming responses <http-client-streaming-responses>`
368
for full asynchronous applications.
0 commit comments