vertx / io.vertx.kotlin.core.http / io.vertx.core.http.HttpConnection / pingAwait

pingAwait

suspend fun HttpConnection.pingAwait(data: Buffer): Buffer

Send a frame to the remote endpoint.

Parameters

data - the 8 bytes data of the frame

Return
a reference to this, so the API can be used fluently *