Table of Contents

Class PathStringTransform

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

Modifies the proxy request Path with the given value.

public class PathStringTransform : RequestTransform
Inheritance
PathStringTransform
Inherited Members

Constructors

PathStringTransform(PathTransformMode, PathString)

Creates a new transform.

public PathStringTransform(PathStringTransform.PathTransformMode mode, PathString value)

Parameters

mode PathStringTransform.PathTransformMode

A PathStringTransform.PathTransformMode indicating how the given value should update the existing path.

value PathString

The path value used to update the existing value.

Methods

ApplyAsync(RequestTransformContext)

public override ValueTask ApplyAsync(RequestTransformContext context)

Parameters

context RequestTransformContext

Returns

ValueTask