Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0392085

Browse filesBrowse files
committed
minor #17749 Add note about ResponseInterface::toStream() (henrikac)
This PR was submitted for the 6.2 branch but it was merged into the 5.4 branch instead. Discussion ---------- Add note about `ResponseInterface::toStream()` The docs for `HttpClient` mentions that [Symfony\Contracts\HttpClient\ResponseInterface](https://github.com/symfony/http-client-contracts/blob/main/ResponseInterface.php) provides a method `toStream` but looking at the source code one can see that this is not the case. This PR removes the mention of `Symfony\Contracts\HttpClient\ResponseInterface::toStream` from the docs. Commits ------- e84e3e8 add note about ->toStream()
2 parents ee6c321 + e84e3e8 commit 0392085
Copy full SHA for 0392085

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎http_client.rst

Copy file name to clipboardExpand all lines: http_client.rst
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.