module Athena::Framework::Events::SettableResponse
#
Represents an event where an ATH::Response
can be set on self
to handle the original ATH::Request
.
Warning
Once #response=
is called, propagation stops; i.e. listeners with lower priority will not be executed.
Direct including types
Athena::Framework::Events::Exception
Athena::Framework::Events::Request
Athena::Framework::Events::View
Methods#
#response=(response : ATH::Response) : Nil
#
Sets the response that will be returned for the current ATH::Request
being handled.
Propagation of self
will stop once #response=
is called.