withTransformRequestHeaderRouteValue
Method
interface YarpRoute { // ... omitted for brevity withTransformRequestHeaderRouteValue( headerName: string, routeValueKey: string, append?: boolean): YarpRoute;}Signature
method
withTransformRequestHeaderRouteValueAdds the transform which will append or set the request header from a route value.
withTransformRequestHeaderRouteValue( headerName: string, routeValueKey: string, append?: boolean): YarpRouteParameters
headerNamestringrouteValueKeystringappendbooleanoptional= TrueReturns
YarpRouteApplies to
This method applies to the following types: