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 #

optional
#code: number

An HTTP/2 error code

optional
#lastStreamID: number

The numeric ID of the last processed Http2Stream

optional
#opaqueData: ArrayBufferView

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

Return Type #

void