Del via


PathTransformExtensions.WithTransformPathRouteValues Method

Definition

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

Returns

Applies to