RequestRetrier
public protocol RequestRetrier : SendableA type that determines whether a request should be retried after being executed by the specified session manager and encountering an error.
- 
                  
                  Determines whether the Requestshould be retried by calling thecompletionclosure.This operation is fully asynchronous. Any amount of time can be taken to determine whether the request needs to be retried. The one requirement is that the completion closure is called to ensure the request is properly cleaned up after. DeclarationSwift func retry(_ request: Request, for session: Session, dueTo error: any Error, completion: @escaping @Sendable (RetryResult) -> Void)
- 
                  retrier(using:Extension method) Creates a Retrierusing the providedRetryHandlerclosure.DeclarationSwift @preconcurrency public static func retrier(using closure: @escaping RetryHandler) -> RetrierParametersclosureRetryHandlerto use to retry the request.Return ValueThe Retrier.
 View on GitHub
            View on GitHub
           Install in Dash
            Install in Dash
          