YarpRoute.withTransformResponseTrailersAllowed
Method
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 that modify or append to existing trailers may be affected if not included in the allow list.
withTransformResponseTrailersAllowed(allowedHeaders: string[]): YarpRouteParameters
allowedHeaders string[] Returns
YarpRoute Defined on
This method is defined on the following type: