Skip to content
DocsTry Aspire
DocsTry

YarpRoute.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

Defined on

This method is defined on the following type: