ResponseTransformExtensions.WithTransformResponseTrailersAllowed 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 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[]