YarpSessionAffinityCookieConfig
Struct
Represents session affinity cookie configuration for a YARP cluster.
type YarpSessionAffinityCookieConfig struct { Domain *string `json:"Domain"` Expiration *float64 `json:"Expiration"` HttpOnly *bool `json:"HttpOnly"` IsEssential *bool `json:"IsEssential"` MaxAge *float64 `json:"MaxAge"` Path *string `json:"Path"` SameSite *SameSiteMode `json:"SameSite"` SecurePolicy *CookieSecurePolicy `json:"SecurePolicy"`}8 members
Fields
Domain*stringGets or sets the cookie domain.
Expiration*float64optionalGets or sets the cookie expiration.
HttpOnly *booloptionalGets or sets a value indicating whether the cookie is HTTP only.
IsEssential *booloptionalGets or sets a value indicating whether the cookie is essential.
MaxAge *float64optionalGets or sets the cookie max age.
Path*stringGets or sets the cookie path.
SameSite *SameSiteMode optionalGets or sets the same-site mode.
SecurePolicy *CookieSecurePolicy optionalGets or sets the secure policy.