Del via


ResponseTransformExtensions.WithTransformCopyResponseTrailers Method

Definition

Clones the route and adds the transform which will enable or suppress copying response trailers to the client response.

public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransformCopyResponseTrailers (this Yarp.ReverseProxy.Configuration.RouteConfig route, bool copy = true);
static member WithTransformCopyResponseTrailers : Yarp.ReverseProxy.Configuration.RouteConfig * bool -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransformCopyResponseTrailers (route As RouteConfig, Optional copy As Boolean = true) As RouteConfig

Parameters

route
RouteConfig
copy
Boolean

Returns

Applies to