Skip to content

Commit 0037c9a

Browse files
committed
Tweaks
1 parent b4f7537 commit 0037c9a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

components/http_client.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,6 @@ following methods::
333333
// casts the response JSON contents to a PHP array
334334
$content = $response->toArray();
335335

336-
// casts the response content to a PHP stream resource
337-
$content = $response->toStream();
338-
339336
// cancels the request/response
340337
$response->cancel();
341338

@@ -348,10 +345,6 @@ following methods::
348345
// returns detailed logs about the requests and responses of the HTTP transaction
349346
$httpLogs = $response->getInfo('debug');
350347

351-
.. versionadded:: 4.4
352-
353-
The ``toStream()`` method was introduced in Symfony 4.4.
354-
355348
.. note::
356349

357350
``$response->getInfo()`` is non-blocking: it returns *live* information

0 commit comments

Comments
 (0)