Dela via


QueryTransformExtensions.WithTransformQueryValue Method

Definition

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

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

Parameters

route
RouteConfig
queryKey
String
value
String
append
Boolean

Returns

Applies to