Typealiases

The following typealiases are available globally.

  • A dictionary of parameters to apply to a URLRequest.

    Declaration

    Swift

    public typealias Parameters = [String: Any]
  • A closure executed when the RequestRetrier determines whether a Request should be retried or not.

    Declaration

    Swift

    public typealias RequestRetryCompletion = (_ shouldRetry: Bool, _ timeDelay: TimeInterval) -> Void
  • A dictionary of headers to apply to a URLRequest.

    Declaration

    Swift

    public typealias HTTPHeaders = [String: String]