RetryResult

public enum RetryResult

Outcome of determination whether retry is necessary.

  • Retry should be attempted immediately.

    Declaration

    Swift

    case retry
  • Retry should be attempted after the associated TimeInterval.

    Declaration

    Swift

    case retryWithDelay(TimeInterval)
  • Do not retry.

    Declaration

    Swift

    case doNotRetry
  • Do not retry due to the associated AFError.

    Declaration

    Swift

    case doNotRetryWithError(Error)