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>
Properties
Section titled “Properties”Domain
Section titled “Domain”public string? Domain { get; init; }Value: string
Expires
Section titled “Expires”public long? Expires { get; init; }Unix timestamp in whole seconds. Null is a session cookie.
Value: long?
HttpOnly
Section titled “HttpOnly”public bool? HttpOnly { get; init; }Value: bool?
public required string Name { get; init; }Value: string
public string? Path { get; init; }Value: string
SameSite
Section titled “SameSite”public string? SameSite { get; init; }Strict, Lax, or None.
Value: string
Secure
Section titled “Secure”public bool? Secure { get; init; }Value: bool?
public string? Url { get; init; }Value: string
public required string Value { get; init; }Value: string