ProtocolStack
The ProtocolStack is a low-level data type typically utilized in other higher abstractions such as HandlerAspect and Middleware for building middlewares. If you intend to write middleware, it is advisable in most cases to utilize these higher abstractions, as they simplify the process of middleware creation.
Middleware
A middleware helps in addressing common crosscutting concerns without duplicating boilerplate code.
HandlerAspect
A HandlerAspect is a wrapper around ProtocolStack with the two following features: