pub fn get_remote_addr(session: &Session) -> Option<(String, u16)>Expand description
Gets the remote address (IP and port) from the session.
An IPv4 client of a dual-stack listener ([::]:80) has the address
::ffff:1.2.3.4. It is reported as 1.2.3.4: left in the mapped form
it matched no IPv4 entry of an allow or deny list, no IPv4 trusted
proxy, and no country.