suspend fun HttpServerResponse.sendFileAwait(filename: String): Unit
Suspending version of method io.vertx.core.http.HttpServerResponse.sendFile
path to the file to serve
NOTE: This function has been automatically generated from io.vertx.core.http.HttpServerResponse using Vert.x codegen.
suspend fun HttpServerResponse.sendFileAwait(filename: String, offset: Long): Unit
Suspending version of method io.vertx.core.http.HttpServerResponse.sendFile
filename
- path to the file to serve
the offset to serve from
NOTE: This function has been automatically generated from io.vertx.core.http.HttpServerResponse using Vert.x codegen.
suspend fun HttpServerResponse.sendFileAwait(filename: String, offset: Long, length: Long): Unit
Suspending version of method io.vertx.core.http.HttpServerResponse.sendFile
filename
- path to the file to serve
offset
- the offset to serve from
the length to serve to
NOTE: This function has been automatically generated from io.vertx.core.http.HttpServerResponse using Vert.x codegen.