Proxy

public struct Proxy : Codable, Equatable, FunctionResult

Contains information about a proxy server

  • id

    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

    id

    Unique identifier of the proxy

    server

    Proxy server IP address

    port

    Proxy server port

    lastUsedDate

    Point in time (Unix timestamp) when the proxy was last used; 0 if never

    isEnabled

    True, if the proxy is enabled now

    type

    Type of the proxy