ResponseTransformExtensions.AddResponseTrailersAllowed 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.
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.Transforms.Builder.TransformBuilderContext AddResponseTrailersAllowed (this Yarp.ReverseProxy.Transforms.Builder.TransformBuilderContext context, params string[] allowedHeaders);
static member AddResponseTrailersAllowed : Yarp.ReverseProxy.Transforms.Builder.TransformBuilderContext * string[] -> Yarp.ReverseProxy.Transforms.Builder.TransformBuilderContext
<Extension()>
Public Function AddResponseTrailersAllowed (context As TransformBuilderContext, ParamArray allowedHeaders As String()) As TransformBuilderContext
Parameters
- context
- TransformBuilderContext
- allowedHeaders
- String[]