Class CookieParam
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Cookie data.
public class CookieParam
- Inheritance
-
CookieParam
Properties
Domain
Gets or sets the domain.
public string Domain { get; set; }
Property Value
- string
The domain.
Expires
Gets or sets the expiration. Unix time in seconds.
public double? Expires { get; set; }
Property Value
- double?
Expiration.
HttpOnly
Gets or sets if it's HTTP only.
public bool? HttpOnly { get; set; }
Property Value
- bool?
Whether it's http only or not.
Name
Gets or sets the name.
public string Name { get; set; }
Property Value
- string
The name.
PartitionKey
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. Supported only in Chrome. TODO: a breaking change is needed to support other partition keys.
[JsonConverter(typeof(CookiePartitionKeyConverter))]
public string PartitionKey { get; set; }
Property Value
PartitionKeyOpaque
True if cookie partition key is opaque. Supported only in Chrome.
public bool? PartitionKeyOpaque { get; set; }
Property Value
- bool?
Path
Gets or sets the path.
public string Path { get; set; }
Property Value
- string
The path.
Priority
Cookie Priority. Supported only in Chrome.
public CookiePriority? Priority { get; set; }
Property Value
SameParty
True if cookie is SameParty. Supported only in Chrome.
public bool? SameParty { get; set; }
Property Value
- bool?
SameSite
Gets or sets the cookies SameSite value.
public SameSite? SameSite { get; set; }
Property Value
Secure
Gets or sets if it's secure.
public bool? Secure { get; set; }
Property Value
- bool?
Whether it's secure or not.
Session
Gets or sets if it's session only.
public bool? Session { get; set; }
Property Value
- bool?
Whether it's session only or not.
Size
Gets or sets the size.
public int? Size { get; set; }
Property Value
- int?
The size.
SourceScheme
Cookie source scheme type. Supported only in Chrome.
public CookieSourceScheme? SourceScheme { get; set; }
Property Value
Url
Gets or sets the URL.
public string Url { get; set; }
Property Value
- string
The URL.
Value
Gets or sets the value.
public string Value { get; set; }
Property Value
- string
The value.