Created
June 4, 2018 20:59
-
-
Save damijanracel/c7fcb1eac4e55d4ca8d3397536429c87 to your computer and use it in GitHub Desktop.
HttpRequestProtocol
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 HttpRequestProtocol { | |
init(method: HttpMethod, url: String, headers: [String: String], parameters: [String: Any], encoding: Encoding) | |
func run(completion: @escaping ((HttpResponse) -> Void)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment