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