Function jsonrpsee_core::http_helpers::read_header_value
source ยท pub fn read_header_value(
headers: &HeaderMap,
header_name: HeaderName,
) -> Option<&str>
Available on crate feature
http-helpers
only.Expand description
Returns a string value when there is exactly one value for the given header.