#if !BESTHTTP_DISABLE_SOCKETIO namespace BestHTTP.SocketIO3 { /// /// Possible event types on the transport level. /// public enum TransportEventTypes : int { Unknown = -1, Open = 0, Close = 1, Ping = 2, Pong = 3, Message = 4, Upgrade = 5, Noop = 6 } /// /// Event types of the SocketIO protocol. /// public enum SocketIOEventTypes : int { Unknown = -1, /// /// Connect to a namespace, or we connected to a namespace /// Connect = 0, /// /// Disconnect a namespace, or we disconnected from a namespace. /// Disconnect = 1, /// /// A general event. The event's name is in the payload. /// Event = 2, /// /// Acknowledgment of an event. /// Ack = 3, /// /// Error sent by the server, or by the plugin /// Error = 4, /// /// A general event with binary attached to the packet. The event's name is in the payload. /// BinaryEvent = 5, /// /// Acknowledgment of a binary event. /// BinaryAck = 6 } } #endif