Skip to content

Conversation

@joshblum
Copy link

If you try to create a websocket and then set the binaryType, the library currently does not set it on the ws variable in the internal state. Something this will now work:

var socket = new ReconnectingWebSocket(url);
socket.binaryType = "arraybuffer";

Ref: http://stackoverflow.com/questions/16800979/can-a-websocket-switch-its-binarytype-on-the-fly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant