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