Skip to main content

actor_of

Function actor_of 

Source
pub fn actor_of(db: &Db, headers: &HeaderMap, peer: Option<IpAddr>) -> Actor
Expand description

Who a request is, for the audit log: read-only, and without the expiry checks — the handler still decides whether the credential is good, and a session that expires during this request is logged as ended by its owner.