vertx / io.vertx.kotlin.core.net / io.vertx.core.net.NetSocket / sendFileAwait

sendFileAwait

suspend fun NetSocket.sendFileAwait(filename: String): Unit

Suspending version of method io.vertx.core.net.NetSocket.sendFile

Parameters

filename -

file name of the file to send

NOTE: This function has been automatically generated from io.vertx.core.net.NetSocket using Vert.x codegen.

suspend fun NetSocket.sendFileAwait(filename: String, offset: Long): Unit

Suspending version of method io.vertx.core.net.NetSocket.sendFile

Parameters

filename - file name of the file to send

offset -

offset

NOTE: This function has been automatically generated from io.vertx.core.net.NetSocket using Vert.x codegen.

suspend fun NetSocket.sendFileAwait(filename: String, offset: Long, length: Long): Unit

Suspending version of method io.vertx.core.net.NetSocket.sendFile

Parameters

filename - file name of the file to send

offset - offset

length -

length

NOTE: This function has been automatically generated from io.vertx.core.net.NetSocket using Vert.x codegen.