YarpRoute.WithTransformResponseTrailersAllowed

Method
📦 Aspire.Hosting.Yarp v17.0.0
type YarpRoute interface {
// ... omitted for brevity
WithTransformResponseTrailersAllowed(allowedHeaders []string) YarpRoute
}

Signature

methodWithTransformResponseTrailersAllowed
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.
WithTransformResponseTrailersAllowed(allowedHeaders []string) YarpRoute
allowedHeaders[]string
YarpRoute

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: