Athena::Routing
Provides a performant and robust HTTP based routing library/framework.
Constants
VERSION = "0.2.1"
Class methods
compile(routes : ART::RouteCollection, *, route_provider : ART::RouteProvider.class = ART::RouteProvider) : Nil
Before ART::Routes can be matched or generated, they must first be compiled.
This process compiles each route into its ART::CompiledRoute representation,
then merges them all together into a more efficient cacheable format.
A custom route_provider type may be provided to compile the routes into a different provider.
By default, the default global ART::RouteProvider is used.
Nested types
- Athena::Routing::Annotations
- Athena::Routing::CompiledRoute
- Athena::Routing::Exception
- Athena::Routing::Generator
- Athena::Routing::Matcher
- Athena::Routing::Parameters
- Athena::Routing::Request
- Athena::Routing::RequestContext
- Athena::Routing::RequestContextAwareInterface
- Athena::Routing::Requirement
- Athena::Routing::Route
- Athena::Routing::RouteCollection
- Athena::Routing::RouteProvider
- Athena::Routing::Router
- Athena::Routing::RouterInterface
- Athena::Routing::RoutingHandler