Nodes

sealed interface Nodes

A record or records resolved for a host.

Inheritors

Types

Link copied to clipboard
value class A(val node: Node) : Nodes

If the host has at least one A/AAAA record.

Link copied to clipboard
value class Srv(val nodes: List<Node>) : Nodes

If the host has at least one valid SRV record.

Inherited functions

Link copied to clipboard
fun Nodes.asSequence(): <Error class: unknown class><Node>

Converts this Nodes to a sequence of Nodes.