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 support for getting clients in a given room #5

Closed
wants to merge 7 commits into from

Conversation

FREEZX
Copy link

@FREEZX FREEZX commented Jun 17, 2014

I added a function in the base adapter for getting ids of connected clients in a room.
The function is async to allow simple replacement with the redis adapter (see pull request in socket.io-redis):
(socketio/socket.io-redis-adapter#15)

Also added mocha tests for all functions in adapter.js

@panuhorsmalahti
Copy link

👍
Really useful.

@download13
Copy link

Someone should merge this.

barisusakli and others added 3 commits November 21, 2014 12:41
returns rooms the socket is in
returns all rooms if no socket id is passed in
@nkzawa
Copy link
Contributor

nkzawa commented Nov 20, 2015

clients() was added in #24. Thanks for your help.

@nkzawa nkzawa closed this Nov 20, 2015
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.

5 participants