Skip to content
Docs Try Aspire

YarpRoute.withTransformResponseTrailerRemove

Method
📦 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

Defined on

This method is defined on the following type: