elm-websocket-client icon indicating copy to clipboard operation
elm-websocket-client copied to clipboard

Question: Binary data?

Open googleson78 opened this issue 5 years ago • 1 comments

Would it be possible/desirable to be able to send and receive binary data?

googleson78 avatar Sep 13 '19 11:09 googleson78

The JS WebSocket object supports sending binary data, so it makes sense for billstclair/elm-websocket-client to have a sendFile function to use it. I don't have any uses for that, and I'm unlikely to spend the effort on it unless somebody convinces me it would really help them, since I'm hoping that Evan will build an official package, but I'm happy to do it if so motivated, or review and include a pull request.

billstclair avatar Sep 13 '19 16:09 billstclair