Interface IReverseProxyFeature
Stores the current proxy configuration used when processing the request.
Namespace: Yarp.ReverseProxy.Model
Assembly: Yarp.ReverseProxy.dll
Syntax
public interface IReverseProxyFeature
Properties
| Improve this Doc View SourceAllDestinations
All destinations for the current cluster.
Declaration
IReadOnlyList<DestinationState> AllDestinations { get; }
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
IReadOnlyList<DestinationState> AvailableDestinations { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyList<DestinationState> |
Cluster
The cluster model for the current request.
Declaration
ClusterModel Cluster { get; }
Property Value
Type | Description |
---|---|
ClusterModel |
ProxiedDestination
The actual destination that the request was proxied to.
Declaration
DestinationState ProxiedDestination { get; set; }
Property Value
Type | Description |
---|---|
DestinationState |
Route
The route model for the current request.
Declaration
RouteModel Route { get; }
Property Value
Type | Description |
---|---|
RouteModel |