Skip to main content

parse_request_head_with_config

Function parse_request_head_with_config 

pub fn parse_request_head_with_config<'headers, 'src>(
    src: &'src [u8],
    headers: &'headers mut [HeaderSlot],
    config: HeadParserConfig,
) -> Result<ParseStatus<RequestHead<'headers, 'src>>, ParseError>
Available on crate feature icap only.
Expand description

Parse an ICAP request head with explicit bounds and compatibility policy.