flask socketio event as method code example
Example: flask socketio with gevent
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app