HasRetryPolicy
trait HasRetryPolicy
Properties
| protected RetryPolicy|null | $retryPolicy | The request retry policy. |
Methods
retryPolicy()
Get the request retry policy.
Details
at line 23
HasRetryPolicy
retry(array|int $times, Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true)
Specify the number of times the request should be attempted.
at line 37
RetryPolicy
retryPolicy()
Get the request retry policy.