Set Cookie Request
data class SetCookieRequest(name: String, value: String, url: String?, domain: String?, path: String?, secure: Boolean?, httpOnly: Boolean?, sameSite: CookieSameSite?, expires: TimeSinceEpoch?, priority: CookiePriority?, sameParty: Boolean?, sourceScheme: CookieSourceScheme?, sourcePort: Int?)
Content copied to clipboard
Represents request frame that can be used with Network#setCookie operation call.
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
See also
Constructors
SetCookieRequest
Link copied to clipboard
fun SetCookieRequest(name: String, value: String, url: String? = null, domain: String? = null, path: String? = null, secure: Boolean? = null, httpOnly: Boolean? = null, sameSite: CookieSameSite? = null, expires: TimeSinceEpoch? = null, priority: CookiePriority? = null, sameParty: Boolean? = null, sourceScheme: CookieSourceScheme? = null, sourcePort: Int? = null)
Content copied to clipboard
Properties
expires
Link copied to clipboard
priority
Link copied to clipboard
sameSite
Link copied to clipboard
sourcePort
Link copied to clipboard
sourceScheme
Link copied to clipboard
Sources
jvm source
Link copied to clipboard