struct Athena::Routing::Listeners::Routing
- Athena::Routing::Listeners::Routing
- Struct
- Value
- Object
Overview
Sets the related ART::Action
on the current request via an ART::RequestMatcherInterface
.
Included Modules
- Athena::EventDispatcher::EventListenerInterface
Defined in:
listeners/routing_listener.crConstructors
Class Method Summary
Instance Method Summary
-
#call(event : ART::Events::Request, dispatcher : AED::EventDispatcherInterface) : Nil
Assigns the resolved
ART::Action
and path parameters to the request.
Constructor Detail
Class Method Detail
Instance Method Detail
def call(event : ART::Events::Request, dispatcher : AED::EventDispatcherInterface) : Nil
#
Assigns the resolved ART::Action
and path parameters to the request.
The resolved route is dupped to avoid mutating the master copy in the singleton.