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

# sendAwait

`suspend fun StompClientConnection.sendAwait(headers: Map<String, String>, body: Buffer): Frame`

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

### Parameters

`headers` - the headers, must not be null

`body` - the body, may be null

Return

Frame

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

`suspend fun StompClientConnection.sendAwait(destination: String, body: Buffer): Frame`

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

### Parameters

`destination` - the destination, must not be null

`body` - the body, may be null

Return

Frame

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

`suspend fun StompClientConnection.sendAwait(frame: Frame): Frame`

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

### Parameters

`frame` - the frame

Return

Frame

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

`suspend fun StompClientConnection.sendAwait(destination: String, headers: Map<String, String>, body: Buffer): Frame`

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

### Parameters

`destination` - the destination, must not be null

`headers` - the header. The destination header is replaced by the value given to the destination parameter

`body` - the body, may be null

Return

Frame

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