RequestHeadersTransformExtensions.WithTransformCopyRequestHeaders 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 which will enable or suppress copying request headers to the proxy request.
public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransformCopyRequestHeaders (this Yarp.ReverseProxy.Configuration.RouteConfig route, bool copy = true);
static member WithTransformCopyRequestHeaders : Yarp.ReverseProxy.Configuration.RouteConfig * bool -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransformCopyRequestHeaders (route As RouteConfig, Optional copy As Boolean = true) As RouteConfig
Parameters
- route
- RouteConfig
- copy
- Boolean