DeleteCookiesRequest

@Serializable
data class DeleteCookiesRequest(val name: String, val url: String? = null, val domain: String? = null, val path: String? = null, val partitionKey: CookiePartitionKey? = null)

Request object containing input parameters for the NetworkDomain.deleteCookies command.

Constructors

Link copied to clipboard
constructor(name: String, url: String? = null, domain: String? = null, path: String? = null, partitionKey: CookiePartitionKey? = null)

Types

Link copied to clipboard
class Builder(val name: String)

A builder for DeleteCookiesRequest, which allows setting the optional parameters of the NetworkDomain.deleteCookies command via a lambda.

Properties

Link copied to clipboard
val domain: String? = null

If specified, deletes only cookies with the exact domain.

Link copied to clipboard

Name of the cookies to remove.

Link copied to clipboard

If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.

Link copied to clipboard
val path: String? = null

If specified, deletes only cookies with the exact path.

Link copied to clipboard
val url: String? = null

If specified, deletes all the cookies with the given name where domain and path match provided URL.