I want to send a binary file using WAMP. Per this stackoverflow question [does-autobahnjs-support-binary-messages], it appears that it might be possible in WAMPv2. Is there a convenient way to do this? The file would be sent from python to JS.
I am currently doing this by base64 encoding the file, sending, and then decoding on the client-side. At the time I first I tried to directly send the binary file, I had an error that it wasn’t able to be json encoded. This made me move on with the base64 method.
Do I need to invoke ‘msgpack’ in an option somewhere?
Thanks - Travis