runRoute method

FutureOr runRoute(
  1. Request request,
  2. RouteEntry route
)

Implementation

FutureOr runRoute(Request request, RouteEntry route) => Pipeline(app)
        .send(request)
        .through(_gatherMiddlewares(route))
        .then((request) async {
      return toResponse(request, await route.run(request));
    });