socketio python flask 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
Example 3: flask socketio with gevent
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app