vertx / io.vertx.kotlin.core.http / io.vertx.core.http.WebSocketBase

Extensions for io.vertx.core.http.WebSocketBase

closeAwait

suspend fun WebSocketBase.closeAwait(): Unit
suspend fun WebSocketBase.closeAwait(statusCode: Short): Unit
suspend fun WebSocketBase.closeAwait(statusCode: Short, reason: String): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.close

endAwait

suspend fun WebSocketBase.endAwait(data: Buffer): Unit
suspend fun WebSocketBase.endAwait(): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.end

pipeToAwait

suspend fun WebSocketBase.pipeToAwait(dst: WriteStream<Buffer>): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.pipeTo

writeAwait

suspend fun WebSocketBase.writeAwait(data: Buffer): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.write

writeBinaryMessageAwait

suspend fun WebSocketBase.writeBinaryMessageAwait(data: Buffer): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.writeBinaryMessage

writeFinalBinaryFrameAwait

suspend fun WebSocketBase.writeFinalBinaryFrameAwait(data: Buffer): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.writeFinalBinaryFrame

writeFinalTextFrameAwait

suspend fun WebSocketBase.writeFinalTextFrameAwait(text: String): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.writeFinalTextFrame

writeFrameAwait

suspend fun WebSocketBase.writeFrameAwait(frame: WebSocketFrame): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.writeFrame

writeTextMessageAwait

suspend fun WebSocketBase.writeTextMessageAwait(text: String): Unit

Suspending version of method io.vertx.core.http.WebSocketBase.writeTextMessage