Class ReverseProxyFastPath
Helpers for terminate-lite eligibility when a route table is ForwardHost-equivalent.
Inherited Members
Namespace: Titanium.Web.Proxy.Routing
Assembly: Titanium.Web.Proxy.dll
Syntax
public static class ReverseProxyFastPath
Methods
| Edit this page View SourceIsForwardHostEquivalent(IReadOnlyList<RouteConfig>?, ImmutableClusterSnapshot?, string?, int)
True when routes/clusters describe a single sticky destination equal to the endpoint ForwardHost:port.
Declaration
public static bool IsForwardHostEquivalent(IReadOnlyList<RouteConfig>? routes, ImmutableClusterSnapshot? snapshot, string? forwardHost, int forwardPort)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<RouteConfig> | routes | |
| ImmutableClusterSnapshot | snapshot | |
| string | forwardHost | |
| int | forwardPort |
Returns
| Type | Description |
|---|---|
| bool |