1 2 3 4 5 6 7 8 9
use crate::syntax::Did; /// Context available to every XRPC handler pub struct RequestContext { /// Authenticated DID from bearer token, if present pub auth: Option<Did>, /// Raw HTTP headers pub headers: http::HeaderMap, }