DnsResolver

zio.http.DnsResolver$
See theDnsResolver companion trait

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class Config(ttl: Duration, unknownHostTtl: Duration, maxCount: Int, maxConcurrentResolutions: Int, expireAction: ExpireAction, refreshRate: Duration)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Config

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Config.type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ExpireAction

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Drop.type
object Refresh.type

Value members

Concrete methods

def resolve(host: String): ZIO[DnsResolver, UnknownHostException, Chunk[InetAddress]]

Concrete fields

val default: ZLayer[Any, Nothing, DnsResolver]
lazy val live: ZLayer[Config, Nothing, DnsResolver]
val system: ZLayer[Any, Nothing, DnsResolver]