Set Cookie Request
@Serializable
Request object containing input parameters for the NetworkDomain.setCookie command.
Constructors
Link copied to clipboard
constructor(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, partitionKey: String? = null)
Properties
Link copied to clipboard
Cookie expiration date, session cookie if not set
Link copied to clipboard
Cookie partition key. The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. If not set, the cookie will be set as not partitioned.
Link copied to clipboard
Cookie Priority type.
Link copied to clipboard
Cookie SameSite type.
Link copied to clipboard
Cookie source port. Valid values are {-1, 1, 65535}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.
Link copied to clipboard
Cookie source scheme type.