Skip to content

module Athena::Routing::Events::SettableResponse #

Represents an event where an ART::Response can be set on self to handle the original ART::Request.


Once #response= is called, propagation stops; i.e. listeners with lower priority will not be executed.

Direct including types

Athena::Routing::Events::Exception Athena::Routing::Events::Request Athena::Routing::Events::View


#response : ART::Response? #

The response object, if any.

View source

#response=(response : ART::Response) : Nil #

Sets the response that will be returned for the current ART::Request being handled.

Propagation of self will stop once #response= is called.

View source