vertx / io.vertx.kotlin.core.http / io.vertx.core.http.HttpServerResponse / sendFileAwait

# sendFileAwait

`suspend fun HttpServerResponse.sendFileAwait(filename: String): Unit`

Suspending version of method io.vertx.core.http.HttpServerResponse.sendFile

### Parameters

`filename` -

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

### Parameters

`filename` - path to the file to serve

`offset` -

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

### Parameters

`filename` - path to the file to serve

`offset` - the offset to serve from

`length` -

the length to serve to

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