Replies: 1 comment 1 reply
-
Did you consider |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks for the awesome work on
socketioxide
!I'd like to propose a feature: a built-in method to retrieve all currently connected sockets for a namespace (or globally).
This would simplify managing server state for broadcasting, inspecting socket info, etc.
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):
Beta Was this translation helpful? Give feedback.
All reactions