Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Spelling
  • Loading branch information
Andrews54757 authored Jan 27, 2017
commit e99224b22b0b5805d0ea9d7e97058b4467b193eb
2 changes: 1 addition & 1 deletion docs/emit.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function onConnect(socket){
socket.volatile.emit('maybe', 'do you really need it?');

// specifying whether the data to send has binary data
socket.hasBinary(false).emit('what', 'I have no binarys!');
socket.hasBinary(false).emit('what', 'I have no binaries!');

// sending to all clients on this node (when using multiple nodes)
io.local.emit('hi', 'my lovely babies');
Expand Down