Expand description
The msgpack parser sub-crate for the socketioxide crate.
This is a custom parser implementation that can be enable with the msgpack
feature flag in socketioxide.
It is used to parse and serialize the msgpack packet format of the socket.io protocol:
{
"type": 2,
"nsp": "/",
"data": ["event", "foo"],
"id": 1
}
will be directly converted to the following msgpack binary format:
84 A4 74 79 70 65 02 A3 6E 73 70 A1 2F A4 64 61 74 61 92 A5 65 76 65 6E 74 A3 66 6F 6F A2 69 64 01
Structsยง
- MsgPack
Parser - The MsgPack parser