Class AssociatedCookie
A cookie associated with the request which may or may not be sent with it. Includes the cookies itself and reasons for blocking or exemption.
public sealed record AssociatedCookie : IEquatable<AssociatedCookie>
- Inheritance
-
AssociatedCookie
- Implements
- Inherited Members
Constructors
AssociatedCookie(Cookie, ImmutableArray<CookieBlockedReason>)
A cookie associated with the request which may or may not be sent with it. Includes the cookies itself and reasons for blocking or exemption.
public AssociatedCookie(Cookie Cookie, ImmutableArray<CookieBlockedReason> BlockedReasons)
Parameters
CookieCookieThe cookie object representing the cookie which was not sent.
BlockedReasonsImmutableArray<CookieBlockedReason>The reason(s) the cookie was blocked. If empty means the cookie is included.
Properties
BlockedReasons
The reason(s) the cookie was blocked. If empty means the cookie is included.
public ImmutableArray<CookieBlockedReason> BlockedReasons { get; init; }
Property Value
Cookie
The cookie object representing the cookie which was not sent.
public Cookie Cookie { get; init; }
Property Value
ExemptionReason
The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.
public CookieExemptionReason? ExemptionReason { get; init; }