pl.wendigo.chrome.api.network / BlockedSetCookieWithReason

BlockedSetCookieWithReason

data class BlockedSetCookieWithReason (source)

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

Link
Network#BlockedSetCookieWithReason type documentation.

Constructors

<init>

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

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

Properties

blockedReasons

val blockedReasons: List<SetCookieBlockedReason>

The reason(s) this cookie was blocked.

cookie

val cookie: 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.

cookieLine

val cookieLine: String

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.