# Functions
No description provided by the author
No description provided by the author
No description provided by the author
DecodeBinaryPacket returns a BinaryPacket from the contents of the byte array.
DecodeStringPacket returns a StringPacket or BinaryPacket from the contents of the string.
DialContext creates a RawConn to the Engine.IO server located at address.
NewKeepAliveConn returns a new instance of KeepAliveConn.
No description provided by the author
# Constants
Close is a packet that is sent when a connection is closed.
Message is a packet that is sent to transfer data.
NoOp is a packet that is sent that should cause no action when received.
Open is a packet that is sent when a connection is first opened.
ParserProtocol is the version of the Engine.IO parser protocol that this library implements.
Ping is a packet that is sent to indicated that the connection is still active.
Pong is a packet that is sent to indicate that the remote ping was received.
Upgrade is a packet that is sent to indicate that an upgrade should occur.
# Variables
ErrDisconnected is returned when the transport is closed.
ErrInvalidType is returned when a packet contains an invalid type.
ErrPacketTooShort is returned when a packet does not contain enough bytes to be parsed.
# Structs
BinaryPacket represents a engine.io packet with binary (byte) contents.
No description provided by the author
KeepAliveConn wraps a Conn and handles the Ping/Pong process.
No description provided by the author
RawConn is a connection to an Engine.IO connection.
StringPacket represents an engine.io packet with UTF-8 string contents.
# Interfaces
No description provided by the author
Packet represents a generic engine.io packet.
No description provided by the author
# Type aliases
PacketType is the type of engine.io the packet being encoded or decoded.