PathTransformExtensions.WithTransformPathRouteValues 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.
Clones the route and adds the transform which will set the request path with the given value.
public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransformPathRouteValues (this Yarp.ReverseProxy.Configuration.RouteConfig route, Microsoft.AspNetCore.Http.PathString pattern);
static member WithTransformPathRouteValues : Yarp.ReverseProxy.Configuration.RouteConfig * Microsoft.AspNetCore.Http.PathString -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransformPathRouteValues (route As RouteConfig, pattern As PathString) As RouteConfig
Parameters
- route
- RouteConfig
- pattern
- PathString