actix_http::header

Function from_one_raw_str

source
pub fn from_one_raw_str<T: FromStr>(
    val: Option<&HeaderValue>,
) -> Result<T, ParseError>
Expand description

Reads a single string when parsing a header.