Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
protocol ClientProtocol {
/// Performs a request, retrieves a response from the server and convert it to `Model`
func get<Model>(path: String, completion: @escaping (Result<Model, ClientError>) -> Void)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment