class Athena::HTTPKernel::Events::View
inherits Athena::Contracts::EventDispatcher::Event
#
Emitted after the route's action has been executed, but only if it does NOT return an AHTTP::Response.
This event can be listened on to handle converting a non AHTTP::Response into an AHTTP::Response.
See the Getting Started docs for more information.
Included modules
Athena::HTTPKernel::Events::RequestAware
Athena::HTTPKernel::Events::SettableResponse
Constructors#
Methods#
#action_result=(value : _) : Nil#
Overrides the return value of the related controller action.
Can be used to mutate the controller action's returned value within a listener context; such as for pagination.