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 b4f7537 commit 0037c9aCopy full SHA for 0037c9a
components/http_client.rst
@@ -333,9 +333,6 @@ following methods::
333
// casts the response JSON contents to a PHP array
334
$content = $response->toArray();
335
336
- // casts the response content to a PHP stream resource
337
- $content = $response->toStream();
338
-
339
// cancels the request/response
340
$response->cancel();
341
@@ -348,10 +345,6 @@ following methods::
348
345
// returns detailed logs about the requests and responses of the HTTP transaction
349
346
$httpLogs = $response->getInfo('debug');
350
347
351
-.. versionadded:: 4.4
352
353
- The ``toStream()`` method was introduced in Symfony 4.4.
354
355
.. note::
356
357
``$response->getInfo()`` is non-blocking: it returns *live* information
0 commit comments