The method name or CrudKind to register the middleware for.
The middleware function to register.
Registers middleware for a specific namespace (Model or Service)
Runs before request validation and method middleware.
The middleware function to register.
Registers middleware than runs on every valid route.
The middleware function to register.
Register an API implementation or Injected dependency with the router, making it available for routing and injection, respectively.
Runs the Cloesce Router, handling dependency injection, routing, validation, hydration, and method dispatch.
The incoming Request object.
The Wrangler environment bindings.
A Response object representing the result of the request.
Staticinit
Registers middleware for a specific method on a namespace
Runs after namespace middleware and request validation.