class Athena::Routing::Events::View

Overview

Emitted after the route's action has been executed, but only if it does NOT return an ART::Response.

This event can be listened on to handle converting a non ART::Response into an ART::Response.

See ART::Listeners::View.

Included Modules

Defined in:

events/view_event.cr

Constructors

Instance Method Summary

Instance methods inherited from module Athena::Routing::Events::RequestAware

request : HTTP::Request request

Constructor methods inherited from module Athena::Routing::Events::RequestAware

new(request : HTTP::Request) new

Instance methods inherited from module Athena::Routing::Events::SettableResponse

response : ART::Response | Nil response, response=(response : ART::Response) : Nil response=

Constructor Detail

def self.new(request : HTTP::Request, view : ViewBase) #

[View source]

Instance Method Detail

def view : ViewBase #

[View source]