Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some useful methods #168

Merged
merged 5 commits into from Jan 8, 2017

Conversation

darrachequesne
Copy link
Member

This PR add some useful (well, I guess) methods:

  • allRooms: Returns the list of all rooms.
  • remoteJoin: Makes the socket with the given id join the room.
  • remoteLeave: Makes the socket with the given id leave the room.
  • customRequest: Sends a request to every nodes, that will respond through the customHook method.

Closes #154, closes #125
Also closes #68

cc @connected-yzhang @infnada @jreeter @mp3il

@darrachequesne darrachequesne changed the title Feature/requests Add some useful methods Jan 6, 2017
@connected-yzhang
Copy link

Awesome! @darrachequesne Thanks so much! @Adjective-Object Fancy a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants