-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binary data transfert #13
Comments
@mmardinian Not sure if you're still interested, but I'm adding this just as much for other's who might have the same problem. I couldn't get this working without some changes. The following patch to dist/websocket-nats.js let me receive the binary buffer when setting the encoding to buffer:
I haven't managed to test it with multi-chunk payloads though. (I don't know when that occurs, so difficult to trigger...) |
Hi, binary support is ok? |
Hi,
I try to transfert binary buffer to a Nats client using nats-websocket-gw and websocket-nats.
But binary data don't seems to be handled well.
I get some "EOF" messages which seems to be related to a string format.
Could you tell me how to configure the connection beween websocket-nats and nats-websocket-gw in binary please?
Thanks.
Michael
The text was updated successfully, but these errors were encountered: