WithTransformUseOriginalHostHeader
Method
func (YarpRoute) WithTransformUseOriginalHostHeader(options ...*WithTransformUseOriginalHostHeaderOptions) YarpRouteSignature
method
WithTransformUseOriginalHostHeader Adds the transform which will copy the incoming request Host header to the proxy request.
WithTransformUseOriginalHostHeader(options ...*WithTransformUseOriginalHostHeaderOptions) YarpRouteParameters
options...*WithTransformUseOriginalHostHeaderOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithTransformUseOriginalHostHeaderOptions argument.
UseOriginal *boolReturns
YarpRoute Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: