func handler()

in Sources/Confidence/Http/Retry.swift [7:14]


    func handler() -> RetryHandler {
        switch self {
        case .none:
            return NoneRetryHandler()
        case let .exponential(maxBackoff, maxAttempts):
            return ExponentialBackoffRetryHandler(maxBackoff: maxBackoff, maxAttempts: maxAttempts)
        }
    }