pub fn extract_axum_socket_ip<B>(request: &Request<B>) -> Option<IpAddr>Expand description
Extract the Axum socket peer IP stored in a request extension.
This returns the IpAddr from the
axum::extract::ConnectInfo<SocketAddr> request extension, or None when
that extension is absent. It does not parse Forwarded,
X-Forwarded-For, or vendor Headers, so it is not a Header-derived or
effective client IP.