YarpRoute.withTransformPathRemovePrefix
Method
interface YarpRoute { // ... omitted for brevity withTransformPathRemovePrefix(prefix: string): YarpRoute;}Signature
method
withTransformPathRemovePrefixAdds the transform which will remove the matching prefix from the request path.
withTransformPathRemovePrefix(prefix: string): YarpRouteParameters
prefixstringReturns
YarpRouteDefined on
This method is defined on the following type: