Table of Contents

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

IChangeToken

Clusters

Cluster information for where to proxy requests to.

IReadOnlyList<ClusterConfig> Clusters { get; }

Property Value

IReadOnlyList<ClusterConfig>

RevisionId

A unique identifier for this revision of the configuration.

string RevisionId { get; }

Property Value

string

Routes

Routes matching requests to clusters.

IReadOnlyList<RouteConfig> Routes { get; }

Property Value

IReadOnlyList<RouteConfig>