Enums

The following enums are available globally.

  • The WebSocketBinaryType enum is used by the binaryType property and indicates the type of binary data being transmitted by the WebSocket connection.

    See more

    Declaration

    Swift

    public enum WebSocketBinaryType : CustomStringConvertible
  • The WebSocketReadyState enum is used by the readyState property to describe the status of the WebSocket connection.

    See more

    Declaration

    Swift

    public enum WebSocketReadyState : Int, CustomStringConvertible