Skip to content
Myr

Fix link in ASGI docs (#4191)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Fix link in ASGI docs * Improve the wording of ASGI docs

authored by Frank Yu · committed by GitHub · parent 6e1b720 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Grey Li <withlihui@gmail.com>

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/deploying/asgi.rst+2 added-2 removed
3 unmodified lines
4====56If you'd like to use an ASGI server you will need to utilise WSGI to7ASGI middleware. The asgiref8[WsgiToAsgi](https://github.com/django/asgiref#wsgi-to-asgi-adapter)8`WsgiToAsgi <https://github.com/django/asgiref#wsgi-to-asgi-adapter>`_9adapter is recommended as it integrates with the event loop used for10Flask's :ref:`async_await` support. You can use the adapter by11wrapping the Flask app,12
7 unmodified lines
20 ...2122 asgi_app = WsgiToAsgi(app)2324and then serving the ``asgi_app`` with the asgi server, e.g. using24and then serving the ``asgi_app`` with the ASGI server, e.g. using25`Hypercorn <https://gitlab.com/pgjones/hypercorn>`_,2627.. sourcecode:: text28
1 unmodified line