class Athena::Routing::Events::Request

Overview

Emitted very early in the request's life-cycle; before the corresponding ART::Action (if any) has been resolved.

This event can be listened on in order to:

NOTE If your listener logic requires that the the corresponding ART::Action has been resolved, use ART::Events::Action instead.

See the external documentation for more information.

Included Modules

Defined in:

events/request_event.cr

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=