dimanche 22 novembre 2020

Python Socket.io handle all events (catch all events from client)

The documentation for Python Socket.io is here: https://python-socketio.readthedocs.io/en/latest/api.html#asyncserver-class

That is the server class, with 'event' and 'on' methods for handling events. However, those are named events.

How to handle all events from client (catch all) on server side? I've tried .on("*",...) but it didn't work.




Aucun commentaire:

Enregistrer un commentaire