QueryTransformExtensions.WithTransformQueryRouteValue 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 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