Documentation
    Preparing search index...

    Function createRouteHandler

    • import type { Handler } from '@chubbyts/chubbyts-http-types/dist/handler';
      import { createRouteHandler } from '@chubbyts/chubbyts-framework/dist/handler/route-handler';
      import type { MiddlewareDispatcher } from '@chubbyts/chubbyts-framework/dist/middleware/middleware-dispatcher';

      const middlewareDispatcher: MiddlewareDispatcher = ...;

      const routeHandler: Handler = createRouteHandler(middlewareDispatcher);

      Parameters

      Returns Handler