You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ Next run `php artisan config:publish pulkitjalan/requester` to publish the confi
46
46
47
47
The requester class has a dependency of `guzzle` and takes in an instance of `guzzle` as the first param.
48
48
49
+
This package also uses a few guzzle subscribers. `https://github.com/guzzle/retry-subscriber` for retry functionality and `https://github.com/guzzle/log-subscriber` for logging.
50
+
49
51
Available request methods: `get`, `head`, `delete`, `put`, `patch`, `post`, `options`
50
52
51
53
```php
@@ -60,7 +62,7 @@ $requester = new Requester(new GuzzleClient());
60
62
$requester->url('example.com')->get();
61
63
```
62
64
63
-
Altering the default retry behaviour
65
+
Altering the default retry behaviour. See [retry-subscriber](https://github.com/guzzle/retry-subscriber) for more info.
64
66
```php
65
67
// retry 10 times, with a 1 second wait on a 503 error
0 commit comments