ServerInformation
public struct ServerInformation
-
2-character ISO country code, ie: ‘atlanta’.
Declaration
Swift
public var city: String
-
2-character ISO country code, ie: ‘us’.
Declaration
Swift
public var country: String
-
Whether this is a private or public server.
Declaration
Swift
public var isPrivate: Bool
-
Server number. Each specific server in an area is given a number unique to that region, as in “us-atlanta-3”.
Declaration
Swift
public var num: Int
-
Whether this server allows bittorrent/P2P @since 7.4
Declaration
Swift
public var torrentAllowed: Bool
-
Public IP addresses of this server @since 7.4
Declaration
Swift
public var publicIP: [String]
-
Long name of this server i.e USA - Newark #5 @since 14.0
Declaration
Swift
public var longName: String
-
Whether this is a premium-only server @since 14.0
Declaration
Swift
public var isPremium: Bool
-
Whether this is a premium-only server @since 14.0
Declaration
Swift
public var dataCenter: String
-
Declaration
Swift
public init(json: [String : Any])