Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Support binary websockets? #9

Open
Daenyth opened this issue May 22, 2016 · 6 comments
Open

Support binary websockets? #9

Daenyth opened this issue May 22, 2016 · 6 comments

Comments

@Daenyth
Copy link

Daenyth commented May 22, 2016

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

@johnpmayer
Copy link
Member

johnpmayer commented Jun 12, 2016

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.

@Daenyth
Copy link
Author

Daenyth commented Sep 21, 2016

@johnpmayer How's that going?

@simonh1000
Copy link
Contributor

simonh1000 commented Mar 30, 2017

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
Copy link
Contributor

simonh1000 commented Apr 1, 2017

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

@googleson78
Copy link

Any possibility of this happening?

@MichaelSnowden
Copy link

bump

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants