Skip to content
Docs Try Aspire

withTransformResponseTrailerRemove

Function
📦 Aspire.Hosting.Yarp v13.2.0-preview.1.26159.1
interface YarpRoute {
// ... omitted for brevity
withTransformResponseTrailerRemove(
headerName: string,
condition?: ResponseCondition): YarpRoute;
}

Signature

method withTransformResponseTrailerRemove
Adds the transform which will remove the response trailer.
withTransformResponseTrailerRemove(
headerName: string,
condition?: ResponseCondition): YarpRoute
headerName string
condition ResponseCondition optional = Success
YarpRoute

Applies to

This function is an extension method on the following types: