Skip to main content

Module packet

Module packet 

Source
Expand description

Engine.IO v4 and Socket.IO v5 packet codecs, shared by the server and the client.

Structs§

Sio

Enums§

Eio
Engine.IO packet types.
Kind
Socket.IO packet types.

Constants§

EIO_VERSION
MAX_ARGS
MAX_EVENT_NAME
MAX_PACKETS
MAX_PAYLOAD
SEPARATOR
Engine.IO v4 separates packets in a polling payload with the record separator.

Functions§

join_payload
namespace_ok
new_id
A random session / socket id (20 URL-safe characters, as Engine.IO uses).
reserved
Event names Socket.IO reserves on the wire.
split_payload
Split a polling payload into packets (Engine.IO v4: record separator).