miguelgrinberg / Flask-SocketIO

Socket.IO integration for Flask applications.
MIT License
5.31k stars 888 forks source link

How do I intercept event events and authenticate them in a unified manner? #2051

Closed zhengdechang closed 3 months ago

zhengdechang commented 3 months ago

How do I intercept event events and authenticate them in a unified manner? For example, flask processes before_request of http. Which socketio has a similar function