Skip to content

Instantly share code, notes, and snippets.

@jemai
Last active March 13, 2019 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jemai/60c2097a30fe4c98d6e2334a093a7006 to your computer and use it in GitHub Desktop.
Save jemai/60c2097a30fe4c98d6e2334a093a7006 to your computer and use it in GitHub Desktop.
public protocol Requester {
static func execute<T: Codable>(ofType: T.Type, request : Request,
completion: @escaping (_ result: HTTPResult<T?,HTTPCallErrorType<Error>?>) -> Void)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment