Instance Method
register(collection:)
Registers all of the routes in the group to this router.
func register(collection: any RouteCollection) async throws
Parameters
collectionRouteCollectionto register.
You're viewing documentation for a pre-release version. View the latest stable version
Instance Method
func register(collection: any RouteCollection) async throws
collectionRouteCollection to register.