Files
Electron.NET/src/ElectronNET.API/API/Entities/CookieChangedCause.cs

39 lines
995 B
C#
Raw Normal View History

using System.Text.Json.Serialization;
2025-11-09 03:50:24 +01:00
namespace ElectronNET.API.Entities
{
/// <summary>
/// The cause of the change
/// </summary>
2025-11-09 03:50:24 +01:00
public enum CookieChangedCause
{
/// <summary>
///The cookie was changed directly by a consumer's action.
/// </summary>
[JsonPropertyName("explicit")]
@explicit,
/// <summary>
/// The cookie was automatically removed due to an insert operation that overwrote it.
/// </summary>
overwrite,
/// <summary>
/// The cookie was automatically removed as it expired.
/// </summary>
expired,
/// <summary>
/// The cookie was automatically evicted during garbage collection.
/// </summary>
evicted,
/// <summary>
/// The cookie was overwritten with an already-expired expiration date.
/// </summary>
[JsonPropertyName("expired_overwrite")]
expiredOverwrite
}
}