Debian Codegraph @

docs/usage/middleware/index.rst

raw
1 Middleware
2 ==========
3
4 Middlewares in Litestar are ASGI apps that are called "in the middle" between the application entrypoint and the
5 route handler function.
6
7 Litestar ships with several builtin middlewares that are easy to configure and use.
8 See :doc:`the documentation regarding these </usage/middleware/builtin-middleware>` for more details.
9
10 .. seealso::
11
12 If you're coming from Starlette / FastAPI, take a look at the onboarding guide:
13
14 * :ref:`Migration - FastAPI/Starlette - Middlewares <onboarding/fastapi:Middleware>`
15
16
17 .. toctree::
18 :titlesonly:
19
20 using-middleware
21 builtin-middleware
22 creating-middleware