DirectSocketDnsQueryType

@Serializable(with = DirectSocketDnsQueryTypeSerializer::class)
sealed interface DirectSocketDnsQueryType

(undocumented in the protocol definition)

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = DirectSocketDnsQueryTypeSerializer::class)
data object ipv4 : DirectSocketDnsQueryType
Link copied to clipboard
@Serializable(with = DirectSocketDnsQueryTypeSerializer::class)
data object ipv6 : DirectSocketDnsQueryType
Link copied to clipboard
@Serializable(with = DirectSocketDnsQueryTypeSerializer::class)
data class NotDefinedInProtocol(val value: String) : DirectSocketDnsQueryType

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).