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

join #12

Closed
mrleesin opened this issue Jan 25, 2019 · 4 comments
Closed

join #12

mrleesin opened this issue Jan 25, 2019 · 4 comments
Labels

Comments

@mrleesin
Copy link

How to do like this

socket.join('some room');

?

@jumperchen
Copy link
Member

You should use that code at server side - https://github.com/rikulo/socket.io-dart
Just as same as using - https://socket.io/docs/rooms-and-namespaces/#Joining-and-leaving

@mrleesin
Copy link
Author

I use nodejs socketio on server
So, there is no client join() on flutter client

@jumperchen
Copy link
Member

Is it available at JS client?
From their official site, the join method is only available at server side, it's not related to flutter or dart.

@idragon81
Copy link

@jumperchen is right. You need to emit a message from the client and listen to that message on the server. On receiving that message you should perform the join. It is not the responsibility of the client

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

No branches or pull requests

3 participants