Global Variables

The following global variables are available globally.

  • Default to 10 retries, last retry is ~1 hour

    Declaration

    Swift

    public let defaultMaxRetries: UInt
  • Status codes to retry if received

    Declaration

    Swift

    public let defaultRetryStatusCodes: Set<Int>
  • Error codes to retry

    Declaration

    Swift

    public let defaultRetryErrorCodes: Set<Int>
  • 1 second multiplier for exponential backoff

    Declaration

    Swift

    public let defaultExponentialMultiplier: UInt32