Skip to content
Docs Try Aspire

YarpRoute.withTransformCopyResponseHeaders

Method
📦 Aspire.Hosting.Yarp v13.2.0-preview.1.26159.1
interface YarpRoute {
// ... omitted for brevity
withTransformCopyResponseHeaders(copy?: boolean): YarpRoute;
}

Signature

method withTransformCopyResponseHeaders
Adds the transform which will enable or suppress copying response headers to the client response.
withTransformCopyResponseHeaders(copy?: boolean): YarpRoute
copy boolean optional = True
YarpRoute

Defined on

This method is defined on the following type: