BlockedSetCookieWithReason

@Serializable
data class BlockedSetCookieWithReason(val blockedReasons: List<Network.SetCookieBlockedReason>, val cookieLine: String, val cookie: Network.Cookie? = null)

A cookie which was not stored from a response with the corresponding reason.

Constructors

Link copied to clipboard
constructor(blockedReasons: List<Network.SetCookieBlockedReason>, cookieLine: String, cookie: Network.Cookie? = null)

Properties

Link copied to clipboard

The reason(s) this cookie was blocked.

Link copied to clipboard
val cookie: Network.Cookie? = null

The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.

Link copied to clipboard

The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.