Type Aliases
The following type aliases are available globally.
-
Undocumented
Declaration
Swift
public typealias Continuation<T> = (Result<T, AzureError>) -> Void
-
Undocumented
Declaration
Swift
public typealias ResultHandler<TSuccess, TError> = (Result<TSuccess, TError>, HTTPResponse?) -> Void where TError : Error
-
Undocumented
Declaration
Swift
public typealias HTTPResultHandler<T> = ResultHandler<T, AzureError>
-
Undocumented
Declaration
Swift
public typealias PipelineStageResultHandler = ResultHandler<PipelineResponse, AzureError>
-
Undocumented
Declaration
Swift
public typealias OnRequestCompletionHandler = (PipelineRequest, AzureError?) -> Void
-
Undocumented
Declaration
Swift
public typealias OnResponseCompletionHandler = (PipelineResponse, AzureError?) -> Void
-
Undocumented
Declaration
Swift
public typealias OnErrorCompletionHandler = (AzureError, Bool) -> Void
-
Undocumented
Declaration
Swift
public typealias TokenCompletionHandler = (AccessToken?, AzureError?) -> Void
-
Type alias for HTTP header dictionary
Declaration
Swift
public typealias HTTPHeaders = [String : String]
-
Undocumented
Declaration
Swift
public typealias RequestParameter = ( location: RequestParameterLocation, key: String, value: String, encodingStrategy: EncodingStrategy )
-
A closure executed when the network reachability status changes. The closure takes a single argument: the network reachability status.
Declaration
Swift
public typealias ReachabilityStatusListener = (NetworkReachabilityStatus) -> Void