MiddlewareDispatcher: (
    middlewares: Middleware[],
    handler: Handler,
    request: ServerRequest,
) => Promise<Response>

Type declaration

    • (
          middlewares: Middleware[],
          handler: Handler,
          request: ServerRequest,
      ): Promise<Response>
    • Parameters

      • middlewares: Middleware[]
      • handler: Handler
      • request: ServerRequest

      Returns Promise<Response>