Share via


RouteMatch Class

Definition

Describes the matching criteria for a route.

public sealed class RouteMatch : IEquatable<Yarp.ReverseProxy.Configuration.RouteMatch>
type RouteMatch = class
    interface IEquatable<RouteMatch>
Public NotInheritable Class RouteMatch
Implements IEquatable(Of RouteMatch)
Inheritance
RouteMatch
Implements

Constructors

Name Description
RouteMatch()

Properties

Name Description
Headers

Only match requests that contain all of these headers.

Hosts

Only match requests with the given Host header. Supports wildcards and ports. For unicode host names, do not use punycode.

Methods

Only match requests that use these optional HTTP methods. E.g. GET, POST.

Path

Only match requests with the given Path pattern.

QueryParameters

Only match requests that contain all of these query parameters.

Methods

Name Description
<Clone>$()
Equals(Object)
Equals(RouteMatch)
GetHashCode()
ToString()

Operators

Name Description
Equality(RouteMatch, RouteMatch)
Inequality(RouteMatch, RouteMatch)

Applies to