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