struct RouteGroup<Context, Handler> where Context : RouterRequestContext, Context == Handler.Context, Handler : MiddlewareProtocol, Handler.Input == Request, Handler.Output == Response
Router middleware that applies a middleware chain to URIs with a specified prefix
init<ChildHandler, ChildContext>(_ routerPath: RouterPath, context: ChildContext.Type, @MiddlewareFixedTypeBuilder<Request, Response, ChildContext> builder: () -> ChildHandler) where Context == ChildContext.ParentContext, Handler == ThrowingContextTransform<Context, ChildContext, ChildHandler>, ChildHandler : MiddlewareProtocol, ChildContext : ChildRequestContext, ChildContext : RouterRequestContext, ChildContext == ChildHandler.Context, ChildHandler.Input == Request, ChildHandler.Output == Response
Create RouteGroup from RequestContext transform and result builder