Class SetCookieCommandSettings
SetCookie
public sealed class SetCookieCommandSettings : ICommand
- Inheritance
-
SetCookieCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Domain
Gets or sets the domain
[JsonPropertyName("domain")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Domain { get; set; }
Property Value
Expires
Gets or sets the expires
[JsonPropertyName("expires")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Expires { get; set; }
Property Value
HttpOnly
Gets or sets the httpOnly
[JsonPropertyName("httpOnly")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HttpOnly { get; set; }
Property Value
- bool?
Name
Gets or sets the name
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Path
Gets or sets the path
[JsonPropertyName("path")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Path { get; set; }
Property Value
Priority
Gets or sets the priority
[JsonPropertyName("priority")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CookiePriority? Priority { get; set; }
Property Value
SameSite
Gets or sets the sameSite
[JsonPropertyName("sameSite")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CookieSameSite? SameSite { get; set; }
Property Value
Secure
Gets or sets the secure
[JsonPropertyName("secure")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Secure { get; set; }
Property Value
- bool?
Url
Gets or sets the url
[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Url { get; set; }
Property Value
Value
Gets or sets the value
[JsonPropertyName("value")]
public string Value { get; set; }