Skip to main content

unified_window

Function unified_window 

Source
fn unified_window(headers: &HeaderMap, window: &str) -> Option<UsageWindow>
Expand description

One unified window off a response’s headers: utilization arrives on a 0..1 scale and maps into the snapshot’s percentage scale, the reset arrives as an epoch, and the status is the provider’s own verdict on the window. Each header is independently optional.