Skip to main content

Module protocol

Module protocol 

Source
Expand description

Packet codecs of the Engine.IO v4 and Socket.IO v5 protocols, with the validation rules of the reference implementations (engine.io-parser 5.2, socket.io-parser 4.2).

No I/O: this module only turns bytes into packets and back.

Modules§

engineio
socketio
The socket.io packet codec (socket.io-parser 4.2 rules), without I/O.

Enums§

Error
A packet that does not follow the Engine.IO v4 / Socket.IO v5 wire format.
Payload
The arguments of an event or an ack.

Type Aliases§

Result
Result alias of this crate.