ProxyRetryPolicy constructor
const
ProxyRetryPolicy({})
Creates a new ProxyRetryPolicy
Implementation
const ProxyRetryPolicy({
this.maxRetries = 3,
this.initialBackoff = const Duration(milliseconds: 500),
this.maxBackoff = const Duration(seconds: 30),
this.backoffMultiplier = 2.0,
this.useJitter = true,
this.retryableExceptions = const {
ProxyConnectionError,
ProxyTimeoutError,
ProxyRateLimitedError,
},
});