HTTPClient
public protocol HTTPClient
Undocumented
-
Performs a network call with the given parameters.
Declaration
Swift
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.
HTTPClient Protocol Reference