YarpRoute.withTransformResponseHeader
Method
interface YarpRoute { // ... omitted for brevity withTransformResponseHeader( headerName: string, value: string, append?: boolean, condition?: ResponseCondition): YarpRoute;}Signature
method
withTransformResponseHeaderAdds the transform which will append or set the response header.
withTransformResponseHeader( headerName: string, value: string, append?: boolean, condition?: ResponseCondition): YarpRouteParameters
headerNamestringvaluestringappendbooleanoptional= TrueconditionResponseConditionoptional= SuccessReturns
YarpRouteDefined on
This method is defined on the following type: