deno.com

method Http2Session.goaway

#Http2Session.goaway(
code?: number,
lastStreamID?: number,
opaqueData?: ArrayBufferView,
): void

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

Parameters #

#code: number
optional

An HTTP/2 error code

#lastStreamID: number
optional

The numeric ID of the last processed Http2Stream

#opaqueData: ArrayBufferView
optional

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

Return Type #

void