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.PathTransformModeA PathStringTransform.PathTransformMode indicating how the given value should update the existing path.
value
PathStringThe path value used to update the existing value.
Methods
ApplyAsync(RequestTransformContext)
public override ValueTask ApplyAsync(RequestTransformContext context)
Parameters
context
RequestTransformContext