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);
301301
302302---
303303
304- ## Reading from the resulting Response instance
304+ ## Reading from the resulting Response object
305305
306306### Getting the response object
307307
@@ -333,11 +333,12 @@ TODO
333333
334334## Getting some transactional statistics
335335
336- ```
336+ ``` {php}
337337// Getting the statistics BasicHttpClient\Response\Statistics\Statistics object
338338$statistics = $request->getResponse()->getStatistics();
339339
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
341342echo print_r($statistics->getRedirectEndpoint(), true).PHP_EOL;
342343
343344// Reading the numbers of redirection as integer
You can’t perform that action at this time.
0 commit comments