Dela via


ResponseTransformExtensions.WithTransformResponseTrailersAllowed Method

Definition

Clones the route and adds the transform which will only copy the allowed response trailers. Other transforms that modify or append to existing trailers may be affected if not included in the allow list.

public static Yarp.ReverseProxy.Configuration.RouteConfig WithTransformResponseTrailersAllowed (this Yarp.ReverseProxy.Configuration.RouteConfig route, params string[] allowedHeaders);
static member WithTransformResponseTrailersAllowed : Yarp.ReverseProxy.Configuration.RouteConfig * string[] -> Yarp.ReverseProxy.Configuration.RouteConfig
<Extension()>
Public Function WithTransformResponseTrailersAllowed (route As RouteConfig, ParamArray allowedHeaders As String()) As RouteConfig

Parameters

route
RouteConfig
allowedHeaders
String[]

Returns

Applies to