withTransformResponseHeader
Method
interface YarpRoute { // ... omitted for brevity withTransformResponseHeader( headerName: string, value: string, append?: boolean, condition?: ResponseCondition): YarpRoute;}Signature
method
withTransformResponseHeader Adds the transform which will append or set the response header.
withTransformResponseHeader( headerName: string, value: string, append?: boolean, condition?: ResponseCondition): YarpRouteParameters
headerName string value string append boolean optional = True condition ResponseCondition optional = Success Returns
YarpRoute Applies to
This method applies to the following types: