Skip to content

class Athena::Routing::Events::Terminate
inherits Athena::EventDispatcher::Event #

Emitted very late in the request's life-cycle, after the response has been sent.

This event can be listened on to perform tasks that are not required to finish before the response is sent; such as sending emails, or other "heavy" tasks.

See the external documentation for more information.

Included modules

Athena::Routing::Events::RequestAware

Class methods#

.new(request : HTTP::Request, response : ART::Response) #

View source

Methods#

#response : ART::Response #

The response object.

View source