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

pongHandler - an async result handler notified with pong reply or the failure

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