OxL Reference

method IpAddr.loopbackV6

::1, the IPv6 loopback address.

Example:

oxl✓ checked in CI
use std.net { IpAddr }

fn main() io {
  print(IpAddr.loopbackV6().toString())
}
Output
::1
pub(api) static fn loopbackV6() -> IpAddr

Since. 1.0.0-beta

Returns

IpAddr

Effects

none declared (pure unless the body says otherwise)

Defined in: std/net/net.oxl:163

See also