Skip to content

Commit

Permalink
Merge pull request socketio#2415 from nus-fboa2016-si/documentation
Browse files Browse the repository at this point in the history
Documentation
  • Loading branch information
nkzawa committed Apr 11, 2016
2 parents 0ae0708 + cecf5f1 commit 7e9a67d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,12 @@ server.listen(3000);
socket.compress(false).emit('an event', { some: 'data' });
});
```

### Socket#disconnect(close:Boolean):Socket

Disconnects this client. If value of close is `true`, closes the underlying connection.
Otherwise, it just disconnects the namespace.


### Client

Expand Down

0 comments on commit 7e9a67d

Please sign in to comment.