Type Aliases
The following type aliases are available globally.
-
A dictionary of parameters to apply to a
URLRequest.Declaration
Swift
public typealias Parameters = [String: Any]
-
A closure executed when the
RequestRetrierdetermines whether aRequestshould 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]
View on GitHub
Install in Dash
Type Aliases Reference