ResponseTransformExtensions.WithTransformCopyResponseHeaders 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 response headers to the client response.
public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransformCopyResponseHeaders (this Yarp.ReverseProxy.Configuration.RouteConfig route, bool copy = true);
static member WithTransformCopyResponseHeaders : Yarp.ReverseProxy.Configuration.RouteConfig * bool -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransformCopyResponseHeaders (route As RouteConfig, Optional copy As Boolean = true) As RouteConfig
Parameters
- route
- RouteConfig
- copy
- Boolean