pub async fn get_connection_type() -> Result<ConnectionTypeData>Expand description
Get connection type (residential, vpn, datacenter).
ยงExample
let conn = myip_foo::get_connection_type().await?;
println!("Type: {}", conn.connection_type);pub async fn get_connection_type() -> Result<ConnectionTypeData>Get connection type (residential, vpn, datacenter).
let conn = myip_foo::get_connection_type().await?;
println!("Type: {}", conn.connection_type);