How to extend this to work with uWSGI? #89
Unanswered
etale-cohomology
asked this question in
Q&A
Replies: 2 comments
-
You are correct, I have not implemented uWSGI support in this package. Flask-Sock uses its own WebSocket implementation (provided by the wsproto package) instead of relying on the web server's own WebSocket support. With uWSGI I'm not sure it is possible to use a custom WebSocket implementation. Gunicorn, Werkzeug, Eventlet and Gevent make it easy, so that is why these are the solutions I have implemented. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for the reply. And the tutorials. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, my understanding is that this only works with the Flask dev server, and with gunicorn.
How can one extend this to work with
uwsgi
too?I got
flask-socketio
working withuwsgi
(andgevent
) doing something like:but (unsurprisingly) the same thing doesn't work with
flask-sock
, probably because support foruwsgi
needs to be specifically implemented. (But how?)Beta Was this translation helpful? Give feedback.
All reactions