Skip to content
DocsTry Aspire
DocsTry

withTransformResponseTrailerRemove

Method
📦 Aspire.Hosting.Yarp v13.4.0
interface YarpRoute {
// ... omitted for brevity
withTransformResponseTrailerRemove(
headerName: string,
condition?: ResponseCondition): YarpRoute;
}

Signature

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

Applies to

This method applies to the following types: