wslink icon indicating copy to clipboard operation
wslink copied to clipboard

Rework the way messages are exchanged between server and client (msgpack + chunking)

Open alesgenova opened this issue 1 year ago • 0 comments

  • Use msgpack for serialization of the messages between server and client
    • slightly reduced message size
    • binary values can directly be in the object serialized/deserialized (no need to use previous attachment mechanism)
  • Chunk messages
    • avoids the websocket connection to close unexpectedly when a large message is exchanged
    • use existing environmental variable WSLINK_MAX_MSG_SIZE to determine the chunk size

alesgenova avatar Apr 08 '24 03:04 alesgenova