shrike 0.1.1

AT Protocol library for Rust
Documentation
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 the bearer token, if present.
    pub auth: Option<Did>,
    /// Raw HTTP headers from the request.
    pub headers: http::HeaderMap,
}