Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMatchPath

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpRoute) WithMatchPath(path string) YarpRoute

Signature

methodWithMatchPath
Only match requests with the given Path pattern.
WithMatchPath(path string) YarpRoute
pathstring
YarpRoute

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

Applies to

This method applies to the following types: