-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Suggestion for implementation of clients API #1966
Conversation
References socketio/socket.io-adapter#24 |
This API is 100% spot on |
|
||
```js | ||
var io = require('socket.io')(); | ||
io.of('/chat').in('general').clients(function(error, clients){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also add an example of getting all rooms
I added some examples to the docs |
I assume, |
Yeah, it reflects the broadcast API |
We need to rebase again |
I haven't done this for pull requests before. Do I just fix the history On 01/30/2015 12:29 PM, Guillermo Rauch wrote:
|
Up to you. You can simply just merge from master and regular-push |
Well I tried rebasing off master but I didn't get any changes... So, I just force pushed to squash it into one commit. That cool? |
Nevermind, I forgot to sync my fork with upstream :) should be good now. |
Suggestion for implementation of clients API
No description provided.