Current implementation is sending only binary body, without headers. I am proposing a change, that creates binary frame content with headers.
When working on this, I have noticed that stompServer will try to run JSON.stringify on frame.body, even if it is already a Buffer with serialised JSON. This PR also includes a change that prevents that.
Current implementation is sending only binary body, without headers. I am proposing a change, that creates binary frame content with headers.
When working on this, I have noticed that stompServer will try to run
JSON.stringify
onframe.body
, even if it is already a Buffer with serialised JSON. This PR also includes a change that prevents that.