Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trupin/ecce9a3e4077c1e666fe9410972104de to your computer and use it in GitHub Desktop.
Save trupin/ecce9a3e4077c1e666fe9410972104de to your computer and use it in GitHub Desktop.
protocol ClientProtocol {
/// Performs a request and retrieves a response from the server.
func get(path: String, completion: @escaping (Result<Any, ClientError>) -> Void)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment