PathTransformExtensions
Class static net10.0
Extensions for adding path transforms.
namespace Aspire.Hosting.Yarp.Transforms;
public static class PathTransformExtensions{ // ...}Methods4
Section titled MethodsWithTransformPathPrefix(YarpRoute, PathString)extension Adds the transform which will prefix the request path with the given value.
WithTransformPathRemovePrefix(YarpRoute, PathString)extension Adds the transform which will remove the matching prefix from the request path.
WithTransformPathRouteValues(YarpRoute, PathString)extension Adds the transform which will set the request path with the given value.
WithTransformPathSet(YarpRoute, PathString)extension Adds the transform which sets the request path with the given value.