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

rxListen

open fun rxListen(port: Int, host: String): Single<HttpServer>

Like io.vertx.reactivex.core.http.HttpServer#listen but supplying a handler that will be called when the server is actually listening (or has failed).

Parameters

port - the port to listen on

host - the host to listen on

Return

open fun rxListen(port: Int): Single<HttpServer>

Like io.vertx.reactivex.core.http.HttpServer#listen but supplying a handler that will be called when the server is actually listening (or has failed).

Parameters

port - the port to listen on

Return

open fun rxListen(): Single<HttpServer>

Like io.vertx.reactivex.core.http.HttpServer#listen but supplying a handler that will be called when the server is actually listening (or has failed).

Return