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
YarpRouteApplies to
This method applies to the following types: