withTransformCopyResponseHeaders
Method
interface YarpRoute { // ... omitted for brevity withTransformCopyResponseHeaders(copy?: boolean): YarpRoute;}Signature
method
withTransformCopyResponseHeadersAdds the transform which will enable or suppress copying response headers to the client response.
withTransformCopyResponseHeaders(copy?: boolean): YarpRouteParameters
copybooleanoptional= TrueReturns
YarpRouteApplies to
This method applies to the following types: