PacketType

enum PacketType : Int

The type of packets.

Cases

  • Connect: 0

    Declaration

    Swift

    case connect
  • Disconnect: 1

    Declaration

    Swift

    case disconnect
  • Event: 2

    Declaration

    Swift

    case event
  • ack

    Ack: 3

    Declaration

    Swift

    case ack
  • Error: 4

    Declaration

    Swift

    case error
  • Binary Event: 5

    Declaration

    Swift

    case binaryEvent
  • Binary Ack: 6

    Declaration

    Swift

    case binaryAck

Properties

  • Whether or not this type is binary

    Declaration

    Swift

    public var isBinary: Bool { get }