pub trait RequestIdExt {
// Required methods
fn request_id(&self) -> Option<String>;
fn request_id_with_fallbacks(&self) -> Option<String>;
}
Expand description
Extension trait to easily get request ID from ElifRequest
Required Methods§
Sourcefn request_id(&self) -> Option<String>
fn request_id(&self) -> Option<String>
Get the request ID from the request headers
Sourcefn request_id_with_fallbacks(&self) -> Option<String>
fn request_id_with_fallbacks(&self) -> Option<String>
Get the request ID with fallback header names