suspend fun NetSocket.sendFileAwait(filename: String): Unit
Same as io.vertx.core.net.NetSocket but also takes a handler that will be called when the send has completed or a failure has occurred
filename
- file name of the file to send
Returna
reference to this, so the API can be used fluently *
suspend fun NetSocket.sendFileAwait(filename: String, offset: Long): Unit
Same as io.vertx.core.net.NetSocket but also takes a handler that will be called when the send has completed or a failure has occurred
filename
- file name of the file to send
Returna
reference to this, so the API can be used fluently *
suspend fun NetSocket.sendFileAwait(filename: String, offset: Long, length: Long): Unit
Same as io.vertx.core.net.NetSocket but also takes a handler that will be called when the send has completed or a failure has occurred
filename
- file name of the file to send
Returna
reference to this, so the API can be used fluently *