struct Athena::Framework::RouteHandler
inherits Struct
#
The entry-point into Athena::Framework.
Emits events that handle a given request and returns the resulting ATH::Response.
Constructors#
.new(event_dispatcher : ACTR::EventDispatcher::Interface, request_store : ATH::RequestStore, argument_resolver : ATH::Controller::ArgumentResolverInterface, controller_resolver : ATH::ControllerResolverInterface)#
Methods#
#terminate(request : ATH::Request, response : ATH::Response) : Nil#
Terminates a request/response lifecycle.
Should be called after sending the response to the client.