Skip to content

Commit e84e3e8

Browse files
henrikacOskarStark
authored andcommitted
add note about ->toStream()
1 parent ee6c321 commit e84e3e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

http_client.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,10 @@ following methods::
10131013
// returns detailed logs about the requests and responses of the HTTP transaction
10141014
$httpLogs = $response->getInfo('debug');
10151015

1016+
.. note::
1017+
1018+
``$response->toStream()`` is part of :class:`Symfony\\Component\\HttpClient\\Response\\StreamableInterface`.
1019+
10161020
.. note::
10171021

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

0 commit comments

Comments
 (0)