chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.network / BlockedSetCookieWithReason

BlockedSetCookieWithReason

data class BlockedSetCookieWithReason

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

Constructors

<init>

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

BlockedSetCookieWithReason(blockedReasons: List<SetCookieBlockedReason>, cookieLine: String, cookie: Cookie? = null)

Properties

blockedReasons

The reason(s) this cookie was blocked.

val blockedReasons: List<SetCookieBlockedReason>

cookie

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.

val cookie: Cookie?

cookieLine

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.

val cookieLine: String