Class CobaltCookie
Represents a browser cookie configuration used during PDF generation.
public class CobaltCookie
- Inheritance
-
CobaltCookie
- Inherited Members
Properties
Domain
Domain scope (e.g. ".example.com"). If null, inferred from the final URL.
public string? Domain { get; set; }
Property Value
Expires
Expiration date. Null = session cookie.
public DateTime? Expires { get; set; }
Property Value
HttpOnly
Whether the cookie is inaccessible to client-side scripts. Defaults to false.
public bool HttpOnly { get; set; }
Property Value
Name
Cookie name.
public required string Name { get; set; }
Property Value
Path
URL path. Defaults to "/".
public string? Path { get; set; }
Property Value
Secure
Whether the cookie is HTTPS-only. Defaults to true.
public bool Secure { get; set; }
Property Value
Value
Cookie value.
public required string Value { get; set; }