-
-
Notifications
You must be signed in to change notification settings - Fork 75
-
|
Hi, thanks for the awesome work on I'd like to propose a feature: a built-in method to retrieve all currently connected sockets for a namespace (or globally). Currently, the only way to do this is to manually track sockets like in a HashMap or smth during connection and disconnection events, which is error-prone and adds boilerplate. Example API (hypothetical): io.connected_sockets("/") -> Vec<SocketRef>
|
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
|
Did you consider |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Oh, I was looking around and didn't find such a treasure. Thanks a lot! |
Beta Was this translation helpful? Give feedback.