Skip to main content

parse_alt_svc

Function parse_alt_svc 

Source
pub fn parse_alt_svc<'a, I>(values: I) -> Option<Vec<AltSvc>>
where I: IntoIterator<Item = &'a str>,
Expand description

Parse one or more Alt-Svc header values into a flat list.

Returns None if no entries were found. clear resets accumulation.