withTransformForwarded
Method
interface YarpRoute { // ... omitted for brevity withTransformForwarded( useHost?: boolean, useProto?: boolean, forFormat?: NodeFormat, byFormat?: NodeFormat, action?: ForwardedTransformActions): YarpRoute;}Signature
method
withTransformForwarded Adds the transform which will add the Forwarded header as defined by [RFC 7239](https://tools.ietf.org/html/rfc7239).
withTransformForwarded( useHost?: boolean, useProto?: boolean, forFormat?: NodeFormat, byFormat?: NodeFormat, action?: ForwardedTransformActions): YarpRouteParameters
useHost booleanoptional= TrueuseProto booleanoptional= TrueforFormat NodeFormat optional= RandombyFormat NodeFormat optional= RandomactionForwardedTransformActions optional= SetReturns
YarpRoute Applies to
This method applies to the following types: