Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMatch

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpRoute) WithMatch(match *YarpRouteMatch) YarpRoute

Signature

methodWithMatch
Set the parameters used to match requests.
WithMatch(match *YarpRouteMatch) YarpRoute
match*YarpRouteMatch
YarpRoute

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: