Proxy
public struct Proxy : Codable, Equatable, FunctionResult
Contains information about a proxy server
-
Unique identifier of the proxy
Declaration
Swift
public let id: Int32 -
Proxy server IP address
Declaration
Swift
public let server: String -
Proxy server port
Declaration
Swift
public let port: Int32 -
Point in time (Unix timestamp) when the proxy was last used; 0 if never
Declaration
Swift
public let lastUsedDate: Int32 -
True, if the proxy is enabled now
Declaration
Swift
public let isEnabled: Bool -
Type of the proxy
Declaration
Swift
public let type: ProxyType -
Contains information about a proxy server
Declaration
Swift
public init(id: Int32, server: String, port: Int32, lastUsedDate: Int32, isEnabled: Bool, type: ProxyType)Parameters
idUnique identifier of the proxy
serverProxy server IP address
portProxy server port
lastUsedDatePoint in time (Unix timestamp) when the proxy was last used; 0 if never
isEnabledTrue, if the proxy is enabled now
typeType of the proxy
View on GitHub
Install in Dash
Proxy Structure Reference