When I send a binary message from a Python server to a JavaScript client, an exception is thrown from JSON.parse
at this codeline. I'm sending the message like this:
server.sendMessageHybi(myBinaryChunk, binary=True)
On the receiving end, the data
field is holding a Blob
object rather than a string. Wondering if this is a supported workflow, or if I'm doing something wrong.