pub fn session_from_headers(headers: &[(&str, &str)]) -> HashMap<String, String>Expand description
Reduce x-hasura-* headers to session variables.
Case is not significant in a header name and Hasura treats session variable names the same way, so everything is lowercased on the way in. A repeated header keeps its first value, which is what a single-valued setting can mean.