Skip to main content

client_ip_from_request

Function client_ip_from_request 

Source
pub fn client_ip_from_request<B>(req: &Request<B>) -> String
Available on crate feature iputil only.
Expand description

client_ip 的请求版: 直连地址从请求扩展读取, 见 remote_ip