Crate async_ip

source ·
Expand description

An asynchronous client used to obtain one’s global Ipv6 or Ipv4 address

Structs

All the ip addr info for this node

Enums

The default error type for this crate

Functions

Returns all possible IPs for this node
Gets IP info concurrenlty using custom multiple internal sources
Gets IP info concurrently using default multiple internal sources
Uses multiple url addrs to obtain the information
Gets the internal IP address using DNS
Asynchronously gets the IP address of this node. If prefer_ipv6 is true, then the client will attempt to get the IP address; however, if the client is using an IPv4 address, that will be returned instead.