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