vertx / io.vertx.rxjava.core.net / NetServer / rxListen

rxListen

open fun rxListen(): Single<NetServer>

Like io.vertx.rxjava.core.net.NetServer#listen but providing a handler that will be notified when the server is listening, or fails.

Return

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

Like io.vertx.rxjava.core.net.NetServer#listen but providing a handler that will be notified when the server is listening, or fails.

Parameters

port - the port to listen on

host - the host to listen on

Return

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

Like io.vertx.rxjava.core.net.NetServer#listen but providing a handler that will be notified when the server is listening, or fails.

Parameters

port - the port to listen on

Return

open fun rxListen(localAddress: SocketAddress): Single<NetServer>

Like io.vertx.rxjava.core.net.NetServer#listen but providing a handler that will be notified when the server is listening, or fails.

Parameters

localAddress - the local address to listen on

Return