Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dusterio committed May 9, 2016
1 parent a9307f0 commit 2710e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ array(4) {

```php
// Default connect timeout is 5 seconds, you can change it to anything you want
$client->getParser('general')->getReader()->config(['connect_timeout' => 3.14]);
$previewClient->getParser('general')->getReader()->config(['connect_timeout' => 3.14]);

// Default maximum redirect count is 10, but you can change it too
$client->getParser('general')->getReader()->config(['allow_redirects' => ['max' => 10]]);
$previewClient->getParser('general')->getReader()->config(['allow_redirects' => ['max' => 10]]);

// If there is a network error (DNS, connect, etc), we throw ConnectionErrorException
try {
Expand Down

0 comments on commit 2710e64

Please sign in to comment.