RetryResult - SwiftDocOrg/Alamofire GitHub Wiki

RetryResult

Outcome of determination whether retry is necessary.

public enum RetryResult

Enumeration Cases

retry

Retry should be attempted immediately.

case retry

retryWithDelay

Retry should be attempted after the associated TimeInterval.

case retryWithDelay(:​ TimeInterval)

doNotRetry

Do not retry.

case doNotRetry

doNotRetryWithError

Do not retry due to the associated AFError.

case doNotRetryWithError(:​ Error)