use method
Chains the current Handler with the provided Middleware and returns a new Handler that applies the current handler followed by the given middleware.
This method allows you to create a new handler that applies the specified Middleware after the current handler, forming a middleware chain.
Implementation
Handler use(Middleware middleware) {
return middleware(this);
}