Skip to content

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