Function parse_encapsulated
pub fn parse_encapsulated(
value: &[u8],
) -> Result<Encapsulated<'_>, InvalidEncapsulated>Available on crate feature
icap only.Expand description
Parse and structurally validate an Encapsulated header value.
Call Encapsulated::validate once the ICAP method and message direction
are known.