8000 [HttpClient] add note about getInfo(debug) · symfony/symfony-docs@01be867 · GitHub
[go: up one dir, main page]

Skip to content

Commit 01be867

Browse files
[HttpClient] add note about getInfo(debug)
1 parent 779bb84 commit 01be867

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/http_client.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ following methods::
265265
// you can get individual info too
266266
$startTime = $response->getInfo('start_time');
267267

268+
.. tip::
269+
Call ``$response->getInfo('debug')`` to get detailed logs about the HTTP transaction.
270+
268271
.. _http-client-streaming-responses:
269272

270273
Streaming Responses

0 commit comments

Comments
 (0)
0