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: CookiePartitionKey? = null)
Types
Link copied to clipboard
A builder for SetCookieRequest, which allows setting the optional parameters of the NetworkDomain.setCookie command via a lambda.
Properties
Link copied to clipboard
Cookie expiration date, session cookie if not set
Link copied to clipboard
Cookie partition key. 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.