get_connection_type

Function get_connection_type 

Source
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);