Expand description
Engine.IO v4 and Socket.IO v5 packet codecs, shared by the server and the client.
Structs§
Enums§
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).