[][src]Function external_ip::get_ip

pub async fn get_ip() -> Option<IpAddr>

For ease of use a single async function is enough to obtain the IP trying with all the default sources enabled.