Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

YarpRouteQueryParameterMatch

Struct
📦 Aspire.Hosting.Yarp v17.0.0

Represents a query-parameter-based route match for a YARP route.

type YarpRouteQueryParameterMatch struct {
Name string `json:"Name"`
Values []string `json:"Values"`
IsCaseSensitive bool `json:"IsCaseSensitive"`
Mode QueryParameterMatchMode `json:"Mode"`
}

Fields

Namestring
Gets or sets the query parameter name to match.
Values[]string
Gets or sets the query parameter values to match.
IsCaseSensitivebool
Gets or sets a value indicating whether the query parameter comparison is case-sensitive.
ModeQueryParameterMatchMode
Gets or sets the matching mode for the query parameter comparison.