Skip to content

Glossary: Software Design Patterns in Rust

Middleware

Code that every web request passes through, such as logging or login checks, and which can stop the request. It is a chain of responsibility.

Where the book teaches it

Related terms

Chain of responsibilityAxumDecorator