Class RouteMatcher
Default route matcher: order ascending, first match wins.
Implements
IRouteMatcher
Inherited Members
Namespace: Titanium.Web.Proxy.Routing
Assembly: Titanium.Web.Proxy.dll
Syntax
public sealed class RouteMatcher : IRouteMatcher
Methods
| Edit this page View SourceMatch(RouteMatchContext, IReadOnlyList<RouteConfig>)
Declaration
public RouteConfig? Match(RouteMatchContext context, IReadOnlyList<RouteConfig> routes)
Parameters
| Type | Name | Description |
|---|---|---|
| RouteMatchContext | context | |
| IReadOnlyList<RouteConfig> | routes |
Returns
| Type | Description |
|---|---|
| RouteConfig |
Implements
Titanium.Web.Proxy.Abstractions.Routing.IRouteMatcher