RouteGroup

open class RouteGroup : RouteBuilder

Undocumented

  • Undocumented

    Declaration

    Swift

    public func grouped(
        _ path: String = Route.defaultPath,
        name: String = "",
        middleware: [Middleware] = .init()
    ) -> RouteGroup?
  • Undocumented

    Declaration

    Swift

    public func group(
        _ path: String = Route.defaultPath,
        name: String = "",
        middleware: [Middleware] = .init(),
        handler: @escaping (RouteGroup) -> Void
    )