Pass the Router itself as the request handler

Proprietary

Vert.x 4 removed Router.accept(HttpServerRequest), since a Router is itself a Handler<HttpServerRequest>, in its RxJava APIs too. Replaces server.requestHandler(router::accept) with server.requestHandler(router) and router.accept(request) with router.handle(request).

io.moderne.vertx.RouterAcceptToRouter
mod run . --recipe=io.moderne.vertx.RouterAcceptToRouter

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.