Nodehttp2Http2Session.goawaymethod Http2Session.goaway#Http2Session.goaway(code?: number,lastStreamID?: number,opaqueData?: ArrayBufferView,): voidTransmits a GOAWAY frame to the connected peer without shutting down theHttp2Session. Parameters #optional#code: numberAn HTTP/2 error code optional#lastStreamID: numberThe numeric ID of the last processed Http2Stream optional#opaqueData: ArrayBufferViewA TypedArray or DataView instance containing additional data to be carried within the GOAWAY frame. Return Type #void
method Http2Session.goaway#Http2Session.goaway(code?: number,lastStreamID?: number,opaqueData?: ArrayBufferView,): voidTransmits a GOAWAY frame to the connected peer without shutting down theHttp2Session. Parameters #optional#code: numberAn HTTP/2 error code optional#lastStreamID: numberThe numeric ID of the last processed Http2Stream optional#opaqueData: ArrayBufferViewA TypedArray or DataView instance containing additional data to be carried within the GOAWAY frame. Return Type #void