LearnBoost/socket.io — Issue #766: Support broadcasting raw blobs
Author: nponeccop
Created: 2012-02-25 16:37:18+00:00
State: open

I want to use a custom encoding instead of JSON for the data I send over socket.io.

I can use `socket.message` to send raw data unencoded using message type 3 (https://github.com/LearnBoost/socket.io-spec). However, when I send to many recepients using `socket.emit`, message type 5 is transmitted over wire, and my raw string gets JSON-encoded. For example, all double quotes get escaped as `\"`.

Is there a possibility to broadcast raw blobs to many recepients without applying any encoding to them just like I can send to one recepient with `message`?

See also https://github.com/socketstream/socketstream/issues/151