Skip to content

Conversation

@overflowz
Copy link
Contributor

Added remoteDisconnect documentation.

Added remoteDisconnect documentation.
README.md Outdated
Makes the socket with the given id to get disconnected. If `close` is set to true, it also closes the underlying socket. The callback will be called once the socket was disconnected, or with an `err` argument if the socket was not found.

```js
io.adapter.remoteLeave('<my-id>', 'room1', function (err) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remoteLeave, you again? 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

daaaaaaamn...... will fix it soon! xD

removed remoteLeave duplicate in JS example of remoteDisconnect and replaced with proper one.
@darrachequesne darrachequesne merged commit 8876d54 into socketio:master Jan 15, 2017
@darrachequesne
Copy link
Member

Thanks!

@overflowz overflowz deleted the patch-1 branch January 15, 2017 22:53
@darrachequesne darrachequesne added this to the 3.1.0 milestone Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants