Table of Contents

Class RequestHeaderForwardedTransform

Namespace
Yarp.ReverseProxy.Transforms
Assembly
Yarp.ReverseProxy.dll

An implementation of the Forwarded header as defined in https://tools.ietf.org/html/rfc7239.

public class RequestHeaderForwardedTransform : RequestTransform
Inheritance
RequestHeaderForwardedTransform
Inherited Members

Constructors

RequestHeaderForwardedTransform(IRandomFactory, NodeFormat, NodeFormat, bool, bool, ForwardedTransformActions)

public RequestHeaderForwardedTransform(IRandomFactory randomFactory, NodeFormat forFormat, NodeFormat byFormat, bool host, bool proto, ForwardedTransformActions action)

Parameters

randomFactory IRandomFactory
forFormat NodeFormat
byFormat NodeFormat
host bool
proto bool
action ForwardedTransformActions

Methods

ApplyAsync(RequestTransformContext)

public override ValueTask ApplyAsync(RequestTransformContext context)

Parameters

context RequestTransformContext

Returns

ValueTask