Dela 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

RouteMatch()

Properties

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

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

Operators

Equality(RouteMatch, RouteMatch)
Inequality(RouteMatch, RouteMatch)

Applies to