vertx / io.vertx.kotlin.ext.stomp / io.vertx.ext.stomp.StompClient

Extensions for io.vertx.ext.stomp.StompClient

connectAwait

suspend fun StompClient.connectAwait(port: Int, host: String): StompClientConnection
suspend fun StompClient.connectAwait(net: NetClient): StompClientConnection
suspend fun StompClient.connectAwait(port: Int, host: String, net: NetClient): StompClientConnection

Connects to the server.

suspend fun StompClient.connectAwait(): StompClientConnection

Connects to the server using the host and port configured in the client's options.