Capability for an effect F[_]
which can do DNS lookups.
An instance is available for any effect which has a Sync
instance on JVM and Async
on Node.js.
Attributes
Members list
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 an UnknownHostException
.
Attributes
- Source
- Dns.scala
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 an UnknownHostException
.
Attributes
- Source
- Dns.scala
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.
Attributes
- Source
- Dns.scala
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.
Attributes
- Source
- Dns.scala
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, a None
is returned.
Attributes
- Source
- Dns.scala
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, a None
is returned.
Attributes
- Source
- Dns.scala
Reverses the supplied address to a hostname using the platform DNS resolver.
Reverses the supplied address to a hostname using the platform DNS resolver.
If the address cannot be reversed, the effect fails with an UnknownHostException
.
Attributes
- Source
- Dns.scala
Reverses the supplied address to a hostname using the platform DNS resolver.
Reverses the supplied address to a hostname using the platform DNS resolver.
If the address cannot be reversed, the effect fails with an UnknownHostException
.
Attributes
- Source
- Dns.scala
Reverses the supplied address to all hostnames known to the platform DNS resolver.
Reverses the supplied address to all hostnames known to the platform DNS resolver.
If the address cannot be reversed, an empty list is returned.
Attributes
- Source
- Dns.scala
Reverses the supplied address to all hostnames known to the platform DNS resolver.
Reverses the supplied address to all hostnames known to the platform DNS resolver.
If the address cannot be reversed, an empty list is returned.
Attributes
- Source
- Dns.scala
Reverses the supplied address to a hostname using the platform DNS resolver.
Reverses the supplied address to a hostname using the platform DNS resolver.
If the address cannot be reversed, a None
is returned.
Attributes
- Source
- Dns.scala
Reverses the supplied address to a hostname using the platform DNS resolver.
Reverses the supplied address to a hostname using the platform DNS resolver.
If the address cannot be reversed, a None
is returned.
Attributes
- Source
- Dns.scala
Concrete methods
Translates effect type from F
to G
using the supplied FunctionK