class Athena::Routing::Events::Response
- Athena::Routing::Events::Response
- Athena::EventDispatcher::Event
- Reference
- Object
Overview
Emitted after the route's action has been executed, but before the response has been sent.
This event can be listened on to modify the response object further before it is returned; such as adding headers/cookies, compressing the response, etc.
Included Modules
Defined in:
events/response_event.crConstructors
Instance Method Summary
-
#response : ART::Response
The response object.
-
#response=(response : ART::Response)
The response object.