CachedResponseType

@Serializable(with = CachedResponseTypeSerializer::class)
sealed interface CachedResponseType

type of HTTP response cached

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = CachedResponseTypeSerializer::class)
data object basic : CachedResponseType
Link copied to clipboard
@Serializable(with = CachedResponseTypeSerializer::class)
data object cors : CachedResponseType
Link copied to clipboard
@Serializable(with = CachedResponseTypeSerializer::class)
data object default : CachedResponseType
Link copied to clipboard
@Serializable(with = CachedResponseTypeSerializer::class)
data object error : CachedResponseType
Link copied to clipboard
@Serializable(with = CachedResponseTypeSerializer::class)
data class NotDefinedInProtocol(val value: String) : CachedResponseType

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

Link copied to clipboard
@Serializable(with = CachedResponseTypeSerializer::class)
data object opaqueRedirect : CachedResponseType
Link copied to clipboard
@Serializable(with = CachedResponseTypeSerializer::class)
data object opaqueResponse : CachedResponseType