Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

"Extension X" is a MsgPack extension type (up to 128 extension types are allowed).

Message format

All messages, request and response, except handshake, start with unsigned integer message length (excluding the length itself).

  • Any MsgPack unsigned integer type can be used, so that shorter messages use smaller type to encode length. Empty message will be single 0 byte.
  • Maximum message length is 2147483647 (Integer.MAX_VALUE and maximum byte array length in Java)
positive fixint / uint8 / uint16 / uint32 / uint64 Length of Payload
...Payload


Handshake

TODO: Magic word, features as map (question)

...