Class ReverseProxyFeature
Stores the current proxy configuration used when processing the request.
Inheritance
System.Object
ReverseProxyFeature
Implements
Namespace: Yarp.ReverseProxy.Model
Assembly: Yarp.ReverseProxy.dll
Syntax
public class ReverseProxyFeature : object, IReverseProxyFeature
Properties
| Improve this Doc View SourceAllDestinations
All destinations for the current cluster.
Declaration
public IReadOnlyList<DestinationState> AllDestinations { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyList<DestinationState> |
AvailableDestinations
Cluster destinations that can handle the current request. This will initially include all destinations except those currently marked as unhealthy if health checks are enabled.
Declaration
public IReadOnlyList<DestinationState> AvailableDestinations { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyList<DestinationState> |
Cluster
The cluster model for the current request.
Declaration
public ClusterModel Cluster { get; set; }
Property Value
Type | Description |
---|---|
ClusterModel |
ProxiedDestination
The actual destination that the request was proxied to.
Declaration
public DestinationState ProxiedDestination { get; set; }
Property Value
Type | Description |
---|---|
DestinationState |
Route
The route model for the current request.
Declaration
public RouteModel Route { get; set; }
Property Value
Type | Description |
---|---|
RouteModel |