Skip to main content

extract_request_x_real_ip

Function extract_request_x_real_ip 

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

Extract X-Real-IP from a complete request.

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