Skip to content

Commit

Permalink
[docs] Update the wording to match the code example (socketio#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
timruffles authored and darrachequesne committed Feb 13, 2017
1 parent b099e8b commit 94640a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ socket.emit('hello', 'world');
socket.emit('with-binary', 1, '2', { 3: '4', 5: new Buffer(6) });
```

The `ack` argument is optional and will be called with the server answer.
The `ack` argument is optional and will be called with the client's answer.

```js
var io = require('socket.io')();
Expand Down

0 comments on commit 94640a0

Please sign in to comment.