Table of Contents

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.

Path

Gets or sets the path.

public string Path { get; set; }

Property Value

string

The path.

SameSite

Gets or sets the cookies SameSite value.

public SameSite? SameSite { get; set; }

Property Value

SameSite?

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.

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.

See Also