websocket icon indicating copy to clipboard operation
websocket copied to clipboard

Support binary websockets?

Open Daenyth opened this issue 8 years ago • 6 comments

I'd like to send protobuf messages over a websocket, but the only interface that WebSocket exposes is String-based.

Daenyth avatar May 22 '16 16:05 Daenyth

I've started working on this on my fork. It basically replaces String with a sum type which includes String, Blob, and ArrayBuffer.

The current challenges is that I need to shim in a binary package to do the local development.

This would be a breaking (semver major) change.

johnpmayer avatar Jun 12 '16 15:06 johnpmayer

@johnpmayer How's that going?

Daenyth avatar Sep 21 '16 00:09 Daenyth

I need this support too. My company uses websockets for mobile apps and thus wants to svae on bandwidth. As a result all websocket traffic is encoded using msgpack, but the current library cannot handle that.

simonh1000 avatar Mar 30 '17 13:03 simonh1000

I had a go at hacking this library but ran in to a possible race condition. @johnpmayer did you make better progress?

simonh1000 avatar Apr 01 '17 05:04 simonh1000

Any possibility of this happening?

googleson78 avatar Sep 13 '19 11:09 googleson78

bump

MichaelSnowden avatar Sep 23 '19 07:09 MichaelSnowden