Search Results for

    Show / Hide Table of Contents

    Class ProxyConfigHost

    Applies a snapshot in three steps: union of clusters, publish routes, then the new cluster set.

    Inheritance
    object
    ProxyConfigHost
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Titanium.Web.Proxy.Configuration
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public sealed class ProxyConfigHost

    Constructors

    | Edit this page View Source

    ProxyConfigHost(IReadOnlyList<IProxyConfigFilter>?, IReadOnlyList<IProxyConfigValidator>?)

    Declaration
    public ProxyConfigHost(IReadOnlyList<IProxyConfigFilter>? filters = null, IReadOnlyList<IProxyConfigValidator>? validators = null)
    Parameters
    Type Name Description
    IReadOnlyList<IProxyConfigFilter> filters
    IReadOnlyList<IProxyConfigValidator> validators

    Methods

    | Edit this page View Source

    ApplyAsync(ProxyConfigSnapshot, ClusterManager, Action<ReverseProxyOptions>, CancellationToken)

    Declaration
    public Task ApplyAsync(ProxyConfigSnapshot snapshot, ClusterManager clusters, Action<ReverseProxyOptions> publish, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ProxyConfigSnapshot snapshot
    ClusterManager clusters
    Action<ReverseProxyOptions> publish
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    | Edit this page View Source

    RememberAppliedClusters(IReadOnlyList<ClusterConfig>)

    Records clusters already applied so the next ApplyAsync(ProxyConfigSnapshot, ClusterManager, Action<ReverseProxyOptions>, CancellationToken) keeps them until routes swap.

    Declaration
    public void RememberAppliedClusters(IReadOnlyList<ClusterConfig> clusters)
    Parameters
    Type Name Description
    IReadOnlyList<ClusterConfig> clusters
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX