Protocol
Router
An object that can quickly look up previously registered routes.
protocol Router : Sendable
Overview
See TrieRouter for concrete implementation.
Topics
Associated Types
OutputType of value stored in routes. This will be returned by the router.
Instance Methods
route(path:parameters:)Fetches output for a specific route.
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype