Crate async_ip

source ·
Expand description

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

Structs§

Enums§

Functions§

  • Returns all possible IPs for this node
  • Gets IP info concurrently 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
  • Returns the internal ipv4 address of this node
  • 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.