Skip to content

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

Open
@Swaraj-cs

Description

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"

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions