YarpRouteExtensions.WithMatchPath(YarpRoute, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Only match requests with the given Path pattern.
public static Aspire.Hosting.Yarp.YarpRoute WithMatchPath(this Aspire.Hosting.Yarp.YarpRoute route, string path);
static member WithMatchPath : Aspire.Hosting.Yarp.YarpRoute * string -> Aspire.Hosting.Yarp.YarpRoute
<Extension()>
Public Function WithMatchPath (route As YarpRoute, path As String) As YarpRoute
Parameters
- route
- YarpRoute
- path
- String