1 2 3 4 5 6 7 8 9 10 11 12 13
struct AppState; #[apigate::hook] async fn hook( scope: &mut apigate::RequestScope<'_>, state: &AppState, ) -> apigate::HookResult { let _ = scope; let _ = state; Ok(()) } fn main() {}