Skip to main content

extract_request_cf_connecting_ip

Function extract_request_cf_connecting_ip 

Source
pub fn extract_request_cf_connecting_ip<B>(
    request: &Request<B>,
) -> Result<Option<IpAddr>, Error>
Expand description

Extract CF-Connecting-IP from a complete request.

This reads request.headers() and delegates to extract_header_cf_connecting_ip, preserving its missing and strict error behavior. The returned assertion remains raw and untrusted.