Skip to content

Commit d96e8c7

Browse files
author
Martin Brecht-Precht
committed
Updated readme.
1 parent f364fdf commit d96e8c7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
341342
echo print_r($statistics->getRedirectEndpoint(), true).PHP_EOL;
342343
343344
// Reading the numbers of redirection as integer

0 commit comments

Comments
 (0)