Dela via


PathTransformExtensions.WithTransformPathSet(RouteConfig, PathString) Method

Definition

Clones the route and adds the transform which sets the request path with the given value.

public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransformPathSet (this Yarp.ReverseProxy.Configuration.RouteConfig route, Microsoft.AspNetCore.Http.PathString path);
static member WithTransformPathSet : Yarp.ReverseProxy.Configuration.RouteConfig * Microsoft.AspNetCore.Http.PathString -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransformPathSet (route As RouteConfig, path As PathString) As RouteConfig

Parameters

route
RouteConfig
path
PathString

Returns

Applies to