Interface IProxyConfig
- Namespace
- Yarp.ReverseProxy.Configuration
- Assembly
- Yarp.ReverseProxy.dll
Represents a snapshot of proxy configuration data. These properties may be accessed multiple times and should not be modified.
public interface IProxyConfig
Properties
ChangeToken
A notification that triggers when this snapshot expires.
IChangeToken ChangeToken { get; }
Property Value
Clusters
Cluster information for where to proxy requests to.
IReadOnlyList<ClusterConfig> Clusters { get; }
Property Value
RevisionId
A unique identifier for this revision of the configuration.
string RevisionId { get; }
Property Value
Routes
Routes matching requests to clusters.
IReadOnlyList<RouteConfig> Routes { get; }