Documentation
¶
Overview ¶
This package supports a tiny subset of the Socket.IO protocol. For now it only supports websockets, not long-polling.
Index ¶
Constants ¶
View Source
const ( EngineIOVersion = "4" Transport = "websocket" )
View Source
const ( PacketTypeConnect PacketType = iota PacketTypeDisconnect = iota PacketTypeEvent = iota PacketTypeAck = iota PacketTypeConnectError = iota PacketTypeBinaryEvent = iota PacketTypeBinaryAck = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type PacketType ¶
type PacketType int
PacketType is the SocketIO packet type.
const ( EIOPacketTypeOpen PacketType = iota EIOPacketTypeClose EIOPacketTypePing EIOPacketTypePong EIOPacketTypeMessage EIOPacketTypeUpgrade EIOPacketTypeNoop )
Click to show internal directories.
Click to hide internal directories.