vertx / io.vertx.reactivex.core.http / HttpServer / requestHandler

requestHandler

open fun requestHandler(handler: Handler<HttpServerRequest>): HttpServer

Set the request handler for the server to requestHandler. As HTTP requests are received by the server, instances of io.vertx.reactivex.core.http.HttpServerRequest will be created and passed to this handler.

Parameters

handler -

Return
a reference to this, so the API can be used fluently