Replies: 1 comment 2 replies
-
Have you seen the catch-all event handlers in the documentation? If you create a catch-all namespace and event handler you'll get what you want, I think. https://python-socketio.readthedocs.io/en/stable/client.html#catch-all-event-and-namespace-handlers |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Arguments set passed to handlers is very opinionated and overly restricted.
I can't access
namespace
,sid
,event
's name whenever I want.It'd be easy to pass keyword arguments and let handlers do whatever they want with them.
Describe the solution you'd like
Beta Was this translation helpful? Give feedback.
All reactions