YarpRoute.WithTransformForwarded
Method
type YarpRoute interface { // ... omitted for brevity WithTransformForwarded(options ...*WithTransformForwardedOptions) YarpRoute}Signature
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().
Defined on
This method is defined on the following type: