Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenPacket ¶
type Packet ¶
type Packet struct { PacketType PacketType IsBinary bool }
type PacketType ¶
type PacketType int
const ( Open PacketType = 0 //done Close PacketType = 1 //??? (xhr only?) Ping PacketType = 2 // done Pong PacketType = 3 // done Message PacketType = 4 // started, low level right now. Upgrade PacketType = 5 //!!! (polling->websocket) Noop PacketType = 6 //!!! (for xhr) )
Click to show internal directories.
Click to hide internal directories.