TransportMode

public enum TransportMode : String

Transport mode enum

  • tcp

    Always use TCP.

    Declaration

    Swift

    case tcp
  • udp

    Always use UDP.

    Declaration

    Swift

    case udp
  • Intelligently choose between available protocols.

    Declaration

    Swift

    case auto
  • Always use webscoket @since 9.0

    Declaration

    Swift

    case https
  • Always use Multi TCP. @since 10.9.5

    Declaration

    Swift

    case multitcp = "tcp-multi"
  • Proxy-only. This is not valid for setConnectionTransportMode. @since 12.2

    Declaration

    Swift

    case proxy = "proxy"