Skip to content
DocsTry Aspire
DocsTry

YarpRoute.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

Defined on

This method is defined on the following type: