YarpRoute.WithTransformPathRemovePrefix
Method
type YarpRoute interface { // ... omitted for brevity WithTransformPathRemovePrefix(prefix string) YarpRoute}Signature
method
WithTransformPathRemovePrefix Adds the transform which will remove the matching prefix from the request path.
WithTransformPathRemovePrefix(prefix string) YarpRouteParameters
prefixstringThe matching prefix to remove.Returns
YarpRoute The configured Yarp.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: