Skip to main content

is_sent_in_trailers

Function is_sent_in_trailers 

pub fn is_sent_in_trailers(
    name: &HeaderName,
    allowed: Option<&ForbiddenTrailers>,
) -> bool
Available on crate features http and std only.
Expand description

Whether an outgoing trailer section sends name, given what its message allowed; None is ForbiddenTrailers::DenyAll.