WithTransformPathRemovePrefix
Method
func (YarpRoute) WithTransformPathRemovePrefix(prefix string) YarpRouteSignature
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().
Applies to
This method applies to the following types: