vertx / io.vertx.core.http / HttpConnection / goAwayHandler

goAwayHandler

abstract fun goAwayHandler(handler: Handler<GoAway>): HttpConnection

Set an handler called when a GOAWAY frame is received. This is not implemented for HTTP/1.x.

Parameters

handler - the handler

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