Skip to content
Docs Try Aspire

withTransformCopyRequestHeaders

Function
📦 Aspire.Hosting.Yarp v13.2.0-preview.1.26159.1
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 function is an extension method on the following types: