ADT representing either an IpAddress
, Hostname
, or IDN
.
- Companion
- object
Value members
Inherited methods
Resolves this host to an ip address using the platform DNS resolver.
Resolves this host to an ip address using the platform DNS resolver.
If the host cannot be resolved, the effect fails with a java.net.UnknownHostException
.
- Inherited from
- HostPlatform
Resolves this host to all ip addresses known to the platform DNS resolver.
Resolves this host to all ip addresses known to the platform DNS resolver.
If the host cannot be resolved, an empty list is returned.
- Inherited from
- HostPlatform
def resolveOption[F[_]](implicit evidence$3: Dns[F], evidence$4: ApplicativeThrow[F]): F[Option[IpAddress]]
Resolves this host to an ip address using the platform DNS resolver.
Resolves this host to an ip address using the platform DNS resolver.
If the host cannot be resolved, a None
is returned.
- Inherited from
- HostPlatform