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

# endAwait

`suspend fun HttpServerResponse.endAwait(): Unit`

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

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

`suspend fun HttpServerResponse.endAwait(chunk: String): Unit`
`suspend fun HttpServerResponse.endAwait(chunk: Buffer): Unit`

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

### Parameters

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

`suspend fun HttpServerResponse.endAwait(chunk: String, enc: String): Unit`

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

### Parameters

`chunk` -

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