The number of retries already attempted.
The HTTP Methods that will be automatically retried. Defaults to ['GET','PUT','HEAD','OPTIONS','DELETE']
When there is no response, the number of retries to attempt. Defaults to 2.
The number of times to retry the request. Defaults to 3.
The amount of time to initially delay the retry, in ms. Defaults to 100ms.
The HTTP response status codes that will automatically be retried. Defaults to: [[100, 199], [429, 429], [500, 599]]
Function to invoke when a retry attempt is made.
Function to invoke which returns a promise. After the promise resolves,
the retry will be triggered. If provided, this will be used in-place of
the retryDelay
Function to invoke which determines if you should retry
Configuration for the Gaxios
request
method.