DeleteCookiesRequest

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

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)

Types

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

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
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.