I use Waitress to serve my Flask app on IIS.
Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library.
I already start my app like this:
from waitress import serve
...
if __name__ == "__main__":
serve(app, port=8443, url_scheme="https")
How would I use socketio.run(app) too? Do I just put it under serve()? Or will this not work?
I use Waitress to serve my Flask app on IIS.
I already start my app like this:
How would I use
socketio.run(app)too? Do I just put it under serve()? Or will this not work?