Skip to main content

snapshot_from_unified_headers

Function snapshot_from_unified_headers 

Source
fn snapshot_from_unified_headers(headers: &HeaderMap) -> UsageSnapshot
Expand description

Map a 200’s unified headers into a snapshot. Lenient by design: a 200 without the unified headers (an API-key bearer rather than a plan credential, or a plan without unified limits) is the barless row the scope refusal used to settle to, not a fetch error.