Skip to content
DocsTry Aspire
DocsTry

withTransformCopyResponseHeaders

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

Signature

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

Applies to

This method applies to the following types: