Skip to main content

admit_headers

Function admit_headers 

Source
pub fn admit_headers(
    headers: HeaderView<'_>,
    requested: InclusiveRange,
    pinned_total: u64,
    expected: Validator<'_>,
    fallback: FallbackPolicy,
    body_budget: u64,
) -> Result<AdmittedTransfer, StatusError>
Expand description

Classify and bound the transfer from headers. Does not read a body.