extract_api_key

Function extract_api_key 

Source
pub fn extract_api_key(
    headers: &HashMap<String, String>,
    query: Option<&str>,
) -> Option<String>
Expand description

Helper function to extract API key from request headers or query parameters