websockets python flask code example
Example 1: Flask socket io
gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 module:app
Example 2: flask socketio with gevent
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app