Skip to content

I use Waitress to serve my Flask app on IIS, how can I use Flask-SocketIO too? #1477

Description

@geolectric

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions