Skip to content
DocsTry Aspire
DocsTry

YarpRoute.withTransformResponseTrailer

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

Signature

methodwithTransformResponseTrailer
Adds the transform which will append or set the response trailer.
withTransformResponseTrailer(
headerName: string,
value: string,
append?: boolean,
condition?: ResponseCondition): YarpRoute
headerNamestring
valuestring
appendbooleanoptional= True
conditionResponseConditionoptional= Success
YarpRoute

Defined on

This method is defined on the following type: