Skip to main content

Route

Type Alias Route 

Source
pub type Route = Arc<dyn Fn(&Tool, &Value, &Caller, &Origin) -> Option<Result<Value>> + Send + Sync>;
Expand description

Runs an admitted call elsewhere (a control plane forwarding it to the server that holds the org): Some is its outcome, None runs the tool here. Called after authorization and before the audit record.

Aliased Typeยง

pub struct Route { /* private fields */ }