Interface IPassiveHealthCheckPolicy
Passive health check evaluation policy.
Namespace: Yarp.ReverseProxy.Health
Assembly: Yarp.ReverseProxy.dll
Syntax
public interface IPassiveHealthCheckPolicy
Properties
| Improve this Doc View SourceName
Policy's name.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceRequestProxied(HttpContext, ClusterState, DestinationState)
Registers a successful or failed request and evaluates a new Passive value.
Declaration
void RequestProxied(HttpContext context, ClusterState cluster, DestinationState destination)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | Context. |
ClusterState | cluster | Request's cluster. |
DestinationState | destination | Request's destination. |