Dela via


QueryTransformExtensions.WithTransformQueryRouteValue Method

Definition

Clones the route and adds the transform that will append or set the query parameter from a route value.

public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransformQueryRouteValue (this Yarp.ReverseProxy.Configuration.RouteConfig route, string queryKey, string routeValueKey, bool append = true);
static member WithTransformQueryRouteValue : Yarp.ReverseProxy.Configuration.RouteConfig * string * string * bool -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransformQueryRouteValue (route As RouteConfig, queryKey As String, routeValueKey As String, Optional append As Boolean = true) As RouteConfig

Parameters

route
RouteConfig
queryKey
String
routeValueKey
String
append
Boolean

Returns

Applies to