goaway

abstract fun goaway(code: Number = definedExternally, lastStreamID: Number = definedExternally, opaqueData: ArrayBufferView<*> = definedExternally)(source)

Transmits a GOAWAY frame to the connected peer without shutting down theHttp2Session.

Since

v9.4.0

Parameters

code

An HTTP/2 error code

lastStreamID

The numeric ID of the last processed Http2Stream

opaqueData

A TypedArray or DataView instance containing additional data to be carried within the GOAWAY frame.