Skip to main content

AgentFn

Type Alias AgentFn 

Source
pub type AgentFn = Arc<dyn Fn(&Request) -> Option<Principal> + Send + Sync>;
Expand description

The tailnet or Access agent identity behind a request, if an org maps it (the daemon’s gate).

Aliased Type§

pub struct AgentFn { /* private fields */ }