middleware

Code that sits between an incoming request and the handler that answers it, doing a shared job such as logging, authentication or rate limiting.

In more detail

Each request passes through the middleware chain before reaching the handler. A rate limiter is a common piece of HTTP middleware.

Related terms

Taught in

References