Skip to content

class Athena::HTTPKernel::Events::Request
inherits Athena::Contracts::EventDispatcher::Event #

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

This event can be listened on in order to:

  • Add information to the request, via its AHTTP::Request#attributes
  • Return a response immediately if there is enough information available

Note

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

See the Getting Started docs for more information.