withTransformUseOriginalHostHeader
Function
interface YarpRoute { // ... omitted for brevity withTransformUseOriginalHostHeader(useOriginal?: boolean): YarpRoute;}Signature
method
withTransformUseOriginalHostHeader Adds the transform which will copy the incoming request Host header to the proxy request.
withTransformUseOriginalHostHeader(useOriginal?: boolean): YarpRouteParameters
useOriginal boolean optional = True Returns
YarpRoute Applies to
This function is an extension method on the following types: