From e84e3e8c6658185d778c7fe9b2098b2d485a4e10 Mon Sep 17 00:00:00 2001 From: Henrik Christensen Date: Tue, 17 Jan 2023 16:03:38 +0100 Subject: [PATCH] add note about ->toStream() --- http_client.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/http_client.rst b/http_client.rst index 30c19eba07d..23cc928ac2a 100644 --- a/http_client.rst +++ b/http_client.rst @@ -1013,6 +1013,10 @@ following methods:: // returns detailed logs about the requests and responses of the HTTP transaction $httpLogs = $response->getInfo('debug'); +.. note:: + + ``$response->toStream()`` is part of :class:`Symfony\\Component\\HttpClient\\Response\\StreamableInterface`. + .. note:: ``$response->getInfo()`` is non-blocking: it returns *live* information