We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a300223 commit ec88f95Copy full SHA for ec88f95
Readme.md
@@ -60,7 +60,7 @@ Besides `connect`, `message` and `disconnect`, you can emit custom events:
60
var io = require('socket.io').listen(80);
61
62
io.sockets.on('connection', function (socket) {
63
- io.sockets.emit('this', { will: 'be received by everyone');
+ io.sockets.emit('this', { will: 'be received by everyone' });
64
65
socket.on('private message', function (from, msg) {
66
console.log('I received a private message by ', from, ' saying ', msg);
0 commit comments