Capability for an effect F[_]
which can do DNS lookups.
An instance is available for any effect which has a Sync
instance.
- Companion
- object
class Object
trait Matchable
class Any
Value members
Abstract methods
Gets an IP address representing the loopback interface.
Gets an IP address representing the loopback interface.
Resolves the supplied hostname to an ip address using the platform DNS resolver.
Resolves the supplied hostname to an ip address using the platform DNS resolver.
If the hostname cannot be resolved, the effect fails with a java.net.UnknownHostException
.
Resolves the supplied hostname to all ip addresses known to the platform DNS resolver.
Resolves the supplied hostname to all ip addresses known to the platform DNS resolver.
If the hostname cannot be resolved, an empty list is returned.