InterceptorManagerProtocol
public protocol InterceptorManagerProtocol : URLSessionTaskDelegate
Protocol for managing request interceptors and handling network results.
-
Initializes the interceptor manager with interceptors and a queue.
Declaration
Swift
init(interceptors: [RequestInterceptor], queue: TealiumQueue) -
Processes network results through interceptors to determine retry behavior.
Declaration
Swift
func interceptResult(request: URLRequest, retryCount: Int, result: NetworkResult, shouldRetry: @escaping (Bool) -> Void)
View on GitHub