HttpRetryPolicy interface
Policy that defines http request retry conditions
Properties
| errors | Errors that can trigger a retry |
| headers | Headers that must be present for a request to be retried |
| http |
Additional http status codes that can trigger a retry |
| initial |
Initial delay, in milliseconds, before retrying a request |
| max |
Maximum interval, in milliseconds, between retries |
| max |
Maximum number of times a request will retry |
Property Details
errors
Errors that can trigger a retry
errors?: string[]
Property Value
string[]
headers
Headers that must be present for a request to be retried
headers?: HeaderMatch[]
Property Value
httpStatusCodes
Additional http status codes that can trigger a retry
httpStatusCodes?: number[]
Property Value
number[]
initialDelayInMilliseconds
Initial delay, in milliseconds, before retrying a request
initialDelayInMilliseconds?: number
Property Value
number
maxIntervalInMilliseconds
Maximum interval, in milliseconds, between retries
maxIntervalInMilliseconds?: number
Property Value
number
maxRetries
Maximum number of times a request will retry
maxRetries?: number
Property Value
number