WithTransformForwarded
Method
func (YarpRoute) WithTransformForwarded(options ...*WithTransformForwardedOptions) YarpRouteSignature
method
WithTransformForwarded Adds the transform which will add the Forwarded header as defined by RFC 7239.
WithTransformForwarded(options ...*WithTransformForwardedOptions) YarpRouteParameters
options...*WithTransformForwardedOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithTransformForwardedOptions argument.
UseHost *boolUseProto *boolForFormat *NodeFormat ByFormat *NodeFormat Action*ForwardedTransformActions Returns
YarpRoute Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: