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

How to assign some values to a socket connection? #69

Open
Swaraj-cs opened this issue Sep 29, 2022 · 0 comments
Open

How to assign some values to a socket connection? #69

Swaraj-cs opened this issue Sep 29, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Swaraj-cs
Copy link

Is there any option to assign some values to socket (like in node.js web socket )?When a client is connected, we can set some room id , seat id and status to socket and check its value when its disconnected or sending any messages.

like socket.status = "connected"
socket.room_id = "room1"
socket.seat_id = "seat1"

@Swaraj-cs Swaraj-cs added the enhancement New feature or request label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants