Skip to content
Snippets Groups Projects
Commit 18e3d8ad authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Make Request public

parent 4b8750c8
Branches
No related tags found
No related merge requests found
......@@ -63,13 +63,13 @@ public class Request: CustomStringConvertible
case delete = "DELETE"
}
let url: String
let method: RequestMethod
let authentication: Authentication?
let parameters: [String: String]
let payload: Data?
public let url: String
public let method: RequestMethod
public let authentication: Authentication?
public let parameters: [String: String]
public let payload: Data?
let contentType: String?
public let contentType: String?
public init(url: String, method: RequestMethod, authentication: Authentication?, parameters: [String: String] = [:], payload: Data? = nil, contentType: String?) {
self.url = url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment