Created
April 25, 2018 01:09
-
-
Save trupin/1c68332458e313f33639ea1f6a746b64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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