pub fn extract_request_api_key<B>(
request: &Request<B>,
) -> Result<Option<&str>, Error>Expand description
Extract an API key from a complete request.
This reads request.headers() and delegates to
extract_header_api_key. It therefore uses the same fixed precedence,
missing and error behavior, preserves empty selected values, and performs no
validation or authentication. The returned value is sensitive and must not
be logged or echoed.