AlamofireHTTPClient

open class AlamofireHTTPClient : HTTPClient

Alamofire HTTP client that makes network requests to the api.

  • Performs a network call with the given parameters.

    Declaration

    Swift

    public func perform<T: Decodable>(request: HTTPRequest, completion: @escaping (_ result: Result<T>) -> Void)

    Parameters

    request

    HTTP request to load data.

    completion

    Result handler used when the network call is completed.