HttpMiddlewareArgs: HttpHandlerArgs & { next: HttpNextFn }

The arguments passed to a middleware function or object. Extends HttpHandlerArgs with a next function.

IMPORT_PATH: "@daiso-tech/core/http-router/contracts"

Type declaration

  • next: HttpNextFn

    The next function in the middleware chain.