Middleware Pipeline
← Back to Modern and Functional Patterns
Chain of processing steps. Requests pass through a series of middleware functions, each of which can process, transform, or short-circuit the request. Common in Express.js, Django, ASP.NET, and other web frameworks.
Key Properties
Related
- Chain of Responsibility (classic pattern equivalent)
- Decorator (similar wrapping behavior)