Function autoendpoint::headers::util::get_header
source ยท pub fn get_header<'r>(req: &'r HttpRequest, header: &str) -> Option<&'r str>
Expand description
Get a header from the request
pub fn get_header<'r>(req: &'r HttpRequest, header: &str) -> Option<&'r str>
Get a header from the request