faye/faye-websocket-node

How to set connetion.binaryType on socket connection?

Closed this issue · 2 comments

Server doesn't recognize type of connection.binaryType = "arraybuffer";.

I am trying to implement a method similar to using the browser webSocket API to set the binaryType but this doesn't seem to work.

binaryType isn't supported by this library. All binary messages are represented using Node's Buffer class.

Thank you!