A callback to customize when a retry should occur. By default, retry occurs when there is an HttpError, 429 status code, or response status >= 500.
The delay between retries in milliseconds. Defaults to 250
milliseconds. Max allowed retry time (retries * retryDelayMs) is 30
seconds.
Determines if the timeout be reset between each retry, default is false
.
Generated using TypeDoc
The number of times to retry an HTTP call. Max allowed retries is
5
.