vertx / io.vertx.rxjava.core.http / HttpConnection / goAway

goAway

open fun goAway(errorCode: Long): HttpConnection

Like io.vertx.rxjava.core.http.HttpConnection#goAway with a last stream id 2^31-1.

Parameters

errorCode -

Return

open fun goAway(errorCode: Long, lastStreamId: Int): HttpConnection

Like io.vertx.rxjava.core.http.HttpConnection#goAway with no buffer.

Parameters

errorCode -

lastStreamId -

Return

open fun goAway(errorCode: Long, lastStreamId: Int, debugData: Buffer): HttpConnection

Send a go away frame to the remote endpoint of the connection.

This is not implemented for HTTP/1.x.

Parameters

errorCode - the error code

lastStreamId - the last stream id

debugData - additional debug data sent to the remote endpoint

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