socketio / socket.io-redis-emitter

The Socket.IO Redis emitter, allowing to communicate with a group of Socket.IO servers from another Node.js process.
https://socket.io/docs/v4/redis-adapter/
MIT License
721 stars 121 forks source link

Flags is not work #21

Closed xfg closed 7 years ago

xfg commented 9 years ago

var io = require('socket.io-emitter')({ host: '127.0.0.1', port: 6379 }); io.broadcast.emit('event', 'data');

the broadcast flag is ignored, same with the other flags.

darrachequesne commented 7 years ago

Well, if I understand correctly, broadcast is quite useless here, since every packet is always broadcast, either to a given room or to the whole namespace.

The volatile flag should work though.