Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

register(collection:)

Registers all of the routes in the group to this router.
func register(collection: any RouteCollection) async throws

Parameters

collection

RouteCollection to register.