File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ $request->addAuthentication($clientCertificateAuthentication);
301
301
302
302
---
303
303
304
- ## Reading from the resulting Response instance
304
+ ## Reading from the resulting Response object
305
305
306
306
### Getting the response object
307
307
@@ -333,11 +333,12 @@ TODO
333
333
334
334
## Getting some transactional statistics
335
335
336
- ```
336
+ ``` {php}
337
337
// Getting the statistics BasicHttpClient\Response\Statistics\Statistics object
338
338
$statistics = $request->getResponse()->getStatistics();
339
339
340
- // Reading the redirection URL if the server responds with an redirect HTTP header and followRedirects is set to false
340
+ // Reading the redirection URL if the server responds with an redirect HTTP header and
341
+ // followRedirects is set to false
341
342
echo print_r($statistics->getRedirectEndpoint(), true).PHP_EOL;
342
343
343
344
// Reading the numbers of redirection as integer
You can’t perform that action at this time.
0 commit comments