mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
So that the call to the `has-binary` method can be skipped. Usage:
```
// with binary data
socket.binary(true).emit("binary", obj);
// without binary data
socket.binary(false).emit("string", obj);
// call to hasBin
socket.emit("guess", obj);
```