Table of Contents

Interface IReverseProxyFeature

Namespace
Yarp.ReverseProxy.Model
Assembly
Yarp.ReverseProxy.dll

Stores the current proxy configuration used when processing the request.

public interface IReverseProxyFeature

Properties

AllDestinations

All destinations for the current cluster.

IReadOnlyList<DestinationState> AllDestinations { get; }

Property Value

IReadOnlyList<DestinationState>

AvailableDestinations

Cluster destinations that can handle the current request. This will initially include all destinations except those currently marked as unhealth if health checks are enabled.

IReadOnlyList<DestinationState> AvailableDestinations { get; set; }

Property Value

IReadOnlyList<DestinationState>

Cluster

The cluster model for the current request.

ClusterModel Cluster { get; }

Property Value

ClusterModel

ProxiedDestination

The actual destination that the request was proxied to.

DestinationState? ProxiedDestination { get; set; }

Property Value

DestinationState

Route

The route model for the current request.

RouteModel Route { get; }

Property Value

RouteModel