Skip to content
Docs Try Aspire

YarpRoute.withTransformResponseTrailersAllowed

Method
📦 Aspire.Hosting.Yarp v13.2.0-preview.1.26159.1
interface YarpRoute {
// ... omitted for brevity
withTransformResponseTrailersAllowed(allowedHeaders: string[]): YarpRoute;
}

Signature

method withTransformResponseTrailersAllowed
Adds the transform which will only copy the allowed response trailers. Other transforms
withTransformResponseTrailersAllowed(allowedHeaders: string[]): YarpRoute
allowedHeaders string[]
YarpRoute

Defined on

This method is defined on the following type: