vertx / io.vertx.core.http / HttpConnection / shutdownHandler

shutdownHandler

abstract fun shutdownHandler(handler: Handler<Void>): HttpConnection

Set an handler called when a GOAWAY frame has been sent or received and all connections are closed. This is not implemented for HTTP/1.x.

Parameters

handler - the handler

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