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