CookieParam
Namespace: PuppeteerSharp
public class CookieParamCookie data.
Inheritance: object
Properties
Section titled “Properties”Domain
Section titled “Domain”public string Domain { get; set; }Gets or sets the domain.
Value: string — The domain.
Expires
Section titled “Expires”public double? Expires { get; set; }Gets or sets the expiration. Unix time in seconds.
Value: double? — Expiration.
HttpOnly
Section titled “HttpOnly”public bool? HttpOnly { get; set; }Gets or sets if it’s HTTP only.
Value: bool? — Whether it’s http only or not.
public string Name { get; set; }Gets or sets the name.
Value: string — The name.
PartitionKey
Section titled “PartitionKey”[JsonConverter(typeof(CookiePartitionKeyConverter))]public CookiePartitionKey PartitionKey { get; set; }Cookie partition key. In Chrome, it matches the top-level site the partitioned cookie is available in. In Firefox, it matches the source origin.
Value: CookiePartitionKey
PartitionKeyOpaque
Section titled “PartitionKeyOpaque”public bool? PartitionKeyOpaque { get; set; }True if cookie partition key is opaque. Supported only in Chrome.
Value: bool?
public string Path { get; set; }Gets or sets the path.
Value: string — The path.
Priority
Section titled “Priority”public CookiePriority? Priority { get; set; }Cookie Priority. Supported only in Chrome.
Value: CookiePriority?
SameSite
Section titled “SameSite”public SameSite? SameSite { get; set; }Gets or sets the cookies SameSite value.
Value: SameSite?
Secure
Section titled “Secure”public bool? Secure { get; set; }Gets or sets if it’s secure.
Value: bool? — Whether it’s secure or not.
Session
Section titled “Session”public bool? Session { get; set; }Gets or sets if it’s session only.
Value: bool? — Whether it’s session only or not.
public int? Size { get; set; }Gets or sets the size.
Value: int? — The size.
SourceScheme
Section titled “SourceScheme”public CookieSourceScheme? SourceScheme { get; set; }Cookie source scheme type. Supported only in Chrome.
Value: CookieSourceScheme?
public string Url { get; set; }Gets or sets the URL.
Value: string — The URL.
public string Value { get; set; }Gets or sets the value.
Value: string — The value.
Made with love by Dario Kondratiuk