Std.Http.Retry
9 public declarations
- Adjusting
A policy with one part changed, each answering the policy rather than
- backoff
Std.Http.Retry.BackoffA starting point that suits a call between services.
- Backoff
How many times to try, and how long to wait between attempts.
- describe
&Std.Http.Retry.Backoff -> StrHow many attempts a plan makes, and how long it may spend waiting.
- fetch
Str -> &Std.Http.Client.Limits -> &Std.Http.Retry.Backoff -> Int -> Result[Std.Http.Response, Std.Http.Client.ClientError]Fetch a page, trying again when trying again could help.
- repeatable
&Std.Http.Request -> BoolWhether a request may be sent twice without meaning something different.
- send
&Std.Http.Request -> &Std.Http.Client.Limits -> &Std.Http.Retry.Backoff -> Int -> Result[Std.Http.Response, Std.Http.Client.ClientError]Send a request, trying again when trying again could help.
- waitFor
&Std.Http.Retry.Backoff -> Int -> Int -> IntHow long to wait before attempt `attempt`, counting the first as zero.
- worthRetrying
&Result[Std.Http.Response, Std.Http.Client.ClientError] -> BoolWhether a failure is worth trying again.
