pub fn extract_request_info(session: &Session) -> OwnedRequestInfoExpand description
Extract request info from a Pingora session
Builds an OwnedRequestInfo struct from the session’s request headers.
This function allocates all fields.
For the hot path, use RequestInfo::new() with
with_headers()/with_query_params() only when needed.
§Example
ⓘ
let request_info = extract_request_info(session);