Mgoaway
Bun

method

http2.Http2Session.goaway

code?: number,
lastStreamID?: number,
opaqueData?: ArrayBufferView<ArrayBufferLike>
): void;

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

@param code

An HTTP/2 error code

@param lastStreamID

The numeric ID of the last processed Http2Stream

@param opaqueData

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