interfaces/next_middleware library
Classes
- IDoxNextMiddleware
- A class middleware that runs code before and after the controller.
Typedefs
-
Next
= Future<
DoxResponse> Function() -
Runs the rest of the middleware and the controller. It gives the
response. An error on the way is already turned into its error
response by the
ExceptionHandler. - NextMiddlewareFunction = FutureOr Function(DoxRequest req, Next next)
- A function middleware that runs code before and after the controller.