YarpRoute.withTransformResponseHeadersAllowed
Method
interface YarpRoute { // ... omitted for brevity withTransformResponseHeadersAllowed(allowedHeaders: string[]): YarpRoute;}Signature
method
withTransformResponseHeadersAllowedAdds the transform which will only copy the allowed response headers. Other transforms that modify or append to existing headers may be affected if not included in the allow list.
withTransformResponseHeadersAllowed(allowedHeaders: string[]): YarpRouteParameters
allowedHeadersstring[]Returns
YarpRouteDefined on
This method is defined on the following type: