flask socketio documentation code example
Example 1: Flask socket io
pip install flask-socketio
Example 2: Flask socket io
gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 module:app
pip install flask-socketio
gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 module:app