Reputation: 22
can you tell me how to trigger custom events on Socket.io to be able to manage not just it's own like io.sockets.on('connection', ...)
But my custom io.sockets.on('session:reload', ...)
In older versions you could make it this way: io.sockets.$emit("session:reload", sid);
Upvotes: 0
Views: 1708