Protocol
RouterBuilder
A protocol for building routers by registering routes with their associated outputs.
protocol RouterBuilder : Sendable
Overview
RouterBuilder provides a common interface for accumulating route registrations and building them into a complete router.
Topics
Associated Types
Instance Methods
build()Constructs a newRouterbased on the routes registered to this builder.register(_:at:)Registers a newOutputto theRouterBuilderat a given path.
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype