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

Make host struct public

parent 959c7826
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,13 @@ public class DataManager: NSObject, URLSessionDelegate ...@@ -33,6 +33,13 @@ public class DataManager: NSObject, URLSessionDelegate
public let host: String public let host: String
public let port: Int public let port: Int
public let context: String public let context: String
public init(`protocol`: String, host: String, port: Int, context: String) {
self.protocol = `protocol`
self.host = host
self.port = port
self.context = context
}
} }
private let timeout: TimeInterval private let timeout: TimeInterval
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment