annotation Athena::Routing::Callback

Overview

Defines a callback that should be executed at a specific point in the request's life-cycle.

Fields

Example

@[Athena::Routing::Callback(event: Athena::Routing::CallbackEvents::OnResponse, only: ["users"])]

Defined in:

routing.cr