-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Looks like SockJS send method currently only supports sending of strings, and encodes values as such.
https://github.com/sockjs/sockjs-client/blob/master/dist/sockjs.js#L741
SockJS claims to follow the Websockets API as closely as possible (https://w3c.github.io/websockets/#websocket), which includes support for other data types. This seems like a large deviation and drawback to SockJS.
Support should be added for ArrayBuffer and Blob data types. Encoding binary data in a string is error prone.
Thanks for all the hard work!
Reactions are currently unavailable