Skip to content

BrowserCookie

Namespace: E2E.Engine

public sealed record BrowserCookie : IEquatable<BrowserCookie>

A browser cookie. When setting one, give either Url, or Domain with an optional Path, never both.

Inheritance: object

Implements: IEquatable<BrowserCookie>

View source

public string? Domain { get; init; }

Value: string

View source

public long? Expires { get; init; }

Unix timestamp in whole seconds. Null is a session cookie.

Value: long?

View source

public bool? HttpOnly { get; init; }

Value: bool?

View source

public required string Name { get; init; }

Value: string

View source

public string? Path { get; init; }

Value: string

View source

public string? SameSite { get; init; }

Strict, Lax, or None.

Value: string

View source

public bool? Secure { get; init; }

Value: bool?

View source

public string? Url { get; init; }

Value: string

View source

public required string Value { get; init; }

Value: string

View source