Skip to content
Docs Try Aspire
Docs Try

withTransformCopyRequestHeaders

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

Signature

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

Applies to

This method applies to the following types: