withTransformResponseHeadersAllowed
Function
interface YarpRoute { // ... omitted for brevity withTransformResponseHeadersAllowed(allowedHeaders: string[]): YarpRoute;}Signature
method
withTransformResponseHeadersAllowed Adds the transform which will only copy the allowed response headers. Other transforms
withTransformResponseHeadersAllowed(allowedHeaders: string[]): YarpRouteParameters
allowedHeaders string[] Returns
YarpRoute Applies to
This function is an extension method on the following types: