Dela via


ResponseTransformExtensions.WithTransformCopyResponseHeaders Method

Definition

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

Returns

Applies to