addRoutes(_:atPath:)

    Add route collection to router

    RouteCollection.swift:63
    @discardableResult func addRoutes(_ collection: RouteCollection<Context>, atPath path: RouterPath = "") -> Self
    • Parameters

      • collection: Route collection

      • path: Root path to add routes to

    Other members in extension

    Instance members