Function rama::http::layer::header_config::extract_header_config

pub fn extract_header_config<H, T, G>(
    request: &G,
    header_name: H,
) -> Result<T, HeaderValueErr>
where H: AsHeaderName + Copy, T: DeserializeOwned + Clone + Send + Sync + 'static, G: HeaderValueGetter,
Expand description

Extract a header config from a request or response without consuming it.