forked from orbit-oss/flask
Fix link in ASGI docs (#4191)
* Fix link in ASGI docs * Improve the wording of ASGI docs Co-authored-by: Grey Li <withlihui@gmail.com>
This commit is contained in:
parent
6e1b72096d
commit
85c35bd615
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ ASGI
|
|||
|
||||
If you'd like to use an ASGI server you will need to utilise WSGI to
|
||||
ASGI middleware. The asgiref
|
||||
[WsgiToAsgi](https://github.com/django/asgiref#wsgi-to-asgi-adapter)
|
||||
`WsgiToAsgi <https://github.com/django/asgiref#wsgi-to-asgi-adapter>`_
|
||||
adapter is recommended as it integrates with the event loop used for
|
||||
Flask's :ref:`async_await` support. You can use the adapter by
|
||||
wrapping the Flask app,
|
||||
|
|
@ -21,7 +21,7 @@ wrapping the Flask app,
|
|||
|
||||
asgi_app = WsgiToAsgi(app)
|
||||
|
||||
and then serving the ``asgi_app`` with the asgi server, e.g. using
|
||||
and then serving the ``asgi_app`` with the ASGI server, e.g. using
|
||||
`Hypercorn <https://gitlab.com/pgjones/hypercorn>`_,
|
||||
|
||||
.. sourcecode:: text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue