Watch Aspire live streamsDocsTry Aspire

withTransformCopyRequestHeaders

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

Signature

methodwithTransformCopyRequestHeaders
Adds the transform which will enable or suppress copying request headers to the proxy request.
withTransformCopyRequestHeaders(copy?: boolean): YarpRoute
copybooleanoptional= True
YarpRoute

Applies to

This method applies to the following types: