AlamofireHTTPClient
open class AlamofireHTTPClient : HTTPClient
Alamofire HTTP client that makes network requests to the api.
-
Undocumented
Declaration
Swift
private let decoder: DataDecoder
-
Undocumented
Declaration
Swift
public init(decoder: DataDecoder)
-
Performs a network call with the given parameters.
Declaration
Swift
public func perform<T: Decodable>(request: HTTPRequest, completion: @escaping (_ result: Result<T>) -> Void)Parameters
requestHTTP request to load data.
completionResult handler used when the network call is completed.
AlamofireHTTPClient Class Reference