SIGN IN SIGN UP
socketio / socket.io UNCLAIMED

Realtime application framework (Node.JS server)

0 0 0 TypeScript

[feat] Add a 'binary' flag (#1194)

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);
```
D
Damien Arrachequesne committed
74893d53ca22335cbdbdd1468a5f9a810143a231
Parent: 9701611
Committed by GitHub <noreply@github.com> on 3/10/2018, 6:49:12 AM