SessionAffinityConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Session affinity options.
public sealed class SessionAffinityConfig : IEquatable<Yarp.ReverseProxy.Configuration.SessionAffinityConfig>
type SessionAffinityConfig = class
interface IEquatable<SessionAffinityConfig>
Public NotInheritable Class SessionAffinityConfig
Implements IEquatable(Of SessionAffinityConfig)
- Inheritance
-
SessionAffinityConfig
- Implements
Constructors
SessionAffinityConfig() |
Properties
AffinityKeyName |
Identifies the name of the field where the affinity value is stored. For the cookie affinity policy this will be the cookie name. For the header affinity policy this will be the header name. The policy will give its own default if no value is set. This value should be unique across clusters to avoid affinity conflicts. https://github.com/microsoft/reverse-proxy/issues/976 This field is required. |
Cookie |
Configuration of a cookie storing the session affinity key in case the Policy is set to 'Cookie'. |
Enabled |
Indicates whether session affinity is enabled. |
FailurePolicy |
Strategy for handling a missing destination for an affinitized request. |
Policy |
The session affinity policy to use. |
Methods
<Clone>$() | |
Equals(Object) | |
Equals(SessionAffinityConfig) | |
GetHashCode() | |
ToString() |
Operators
Equality(SessionAffinityConfig, SessionAffinityConfig) | |
Inequality(SessionAffinityConfig, SessionAffinityConfig) |