From 18e3d8add35b0debdc751055270d1ef8ed1d17b7 Mon Sep 17 00:00:00 2001 From: tobias <thinkdifferent055@gmail.com> Date: Sun, 25 Apr 2021 21:18:46 +0200 Subject: [PATCH] Make Request public --- AppleLibs/Network/Requests/Request.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AppleLibs/Network/Requests/Request.swift b/AppleLibs/Network/Requests/Request.swift index 52edd10..9aa462f 100644 --- a/AppleLibs/Network/Requests/Request.swift +++ b/AppleLibs/Network/Requests/Request.swift @@ -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 -- GitLab