vertx / io.vertx.kotlin.ext.stomp / io.vertx.ext.stomp.StompClientConnection / commitAwait

# commitAwait

`suspend fun StompClientConnection.commitAwait(id: String): Frame`

Suspending version of method io.vertx.ext.stomp.StompClientConnection.commit

### Parameters

`id` - the transaction id, must not be null

Return

Frame

NOTE: This function has been automatically generated from io.vertx.ext.stomp.StompClientConnection using Vert.x codegen.

`suspend fun StompClientConnection.commitAwait(id: String, headers: Map<String, String>): Frame`

Suspending version of method io.vertx.ext.stomp.StompClientConnection.commit

### Parameters

`id` - the transaction id, must not be null

`headers` - additional headers to send to the server. The transaction header is replaced by the value passed in the @{code id} parameter

Return

Frame

NOTE: This function has been automatically generated from io.vertx.ext.stomp.StompClientConnection using Vert.x codegen.