withBasePath

open fun withBasePath(new: String): Router

Returns a Router which prepends the passed base path to the logic determining the match().