ZitiUrlClientConfigV1
public class ZitiUrlClientConfigV1 : Codable, ZitiConfig
Class representation of ziti-url-client.v1 service configuration
-
Scheme name (e.g., http, https)
Declaration
Swift
public let scheme: String
-
hostname
Declaration
Swift
public let hostname: String
-
(optional) port number, which will be inferred from
scheme
if not setDeclaration
Swift
public var port: Int?
-
HTTP header to inject into the response
Declaration
Swift
public var headers: [String : String]?
-
Convenience function to resolve
port
Declaration
Swift
public func getPort() -> Int