Protocol
Router
An object that can quickly look up previously registered routes.
protocol Router
Overview
See TrieRouter for concrete implementation.
Topics
Associated Types
OutputType of value stored in routes. This will be returned by the router.
Instance Methods
eraseToAnyRouter()Wraps this router with a type eraser.register(_:at:)Registers a newOutputto theRouterat a given path.route(path:parameters:)Fetches output for a specific route.