Framework
RoutingKit
RoutingKit is a high-performance, trie-node router to route HTTP requests to the correct route handler. It allows for dynamic path parameters to make building web frameworks easy.
Topics
Classes
class TrieRouterGenericTrieRouterbuilt using the “trie” tree algorithm.
Protocols
protocol RouterAn object that can quickly look up previously registered routes.
Structures
struct AnyRouterA router that performs type erasure by wrapping another router.struct ParametersHolds dynamic path components that were discovered while routing.
Enumerations
enum PathComponentA single path component of aRoute. An array of these components describes a route’s path, including which parts are constant and which parts are dynamic.