socket.io-msgpack-parser
socket.io-msgpack-parser copied to clipboard
Improve documentation about binary
Hi,
While implementing a msgpack parser for the rust server implementation. I discovered (if I understood this correctly), that:
- The attachment count in msgpack for binary is never sent.
- The packet type is always
EVENTorACKand neverBINARY_EVENTorBINARY_ACKeven if there are binaries in the payload.
These information are quite important and also having a documentation about this would secure breaking changes between two versions of this parser (it would break compatibility with my version then).
Could you confirm the two assumptions above @darrachequesne ?