ServerSettings

public struct ServerSettings

Automatic server selection method settings @since 9.4

  • Type of automatic selection used @since 9.4

    Declaration

    Swift

    public var connectMethod: AutoConnectMethod
  • Chosen country, if connectMethod is COUNTRYCITYSERVER or EXACT @since 9.4

    Declaration

    Swift

    public var country: String
  • Chosen city, if connectMethod is COUNTRYCITYSERVER or EXACT @since 9.4

    Declaration

    Swift

    public var city: String
  • num

    Chosen server number, if connectMethod is COUNTRYCITYSERVER or EXACT @since 9.4

    Declaration

    Swift

    public var num: Int
  • Declaration

    Swift

    public init(json: [String : Any])