# Functions
ByteToFrameType converts a byte to FrameType.
ByteToPacketType converts a byte to PacketType.
OpErr makes an *OpError.
ReadConnParameters reads ConnParameters from r.
Timestamp returns a string based on different nano time.
# Constants
CLOSE is request the close of this transport but does not shutdown the connection itself.
FrameBinary identifies a binary frame.
FrameString identifies a string frame.
MESSAGE is actual message, client and server should call their callbacks with the data.
NOOP is a noop packet.
OPEN is sent from the server when a new transport is opened (recheck).
PING is sent by the client.
PONG is sent by the server to respond to ping packets.
UPGRADE is sent before engine.io switches a transport to test if server and client can communicate over this transport.
# Structs
ConnParameters is connection parameter of server.
OpError is the error type usually returned by functions in the transport package.
# Interfaces
Conn is a connection.
FrameReader reads a frame.
FrameWriter writes a frame.