method Http2Session.goawayHttp2Session.goaway(code?: number,lastStreamID?: number,opaqueData?: ArrayBufferView,): voidDeprecatedTransmits a GOAWAY frame to the connected peer without shutting down theHttp2Session. Parametersoptionalcode: numberAn HTTP/2 error code optionallastStreamID: numberThe numeric ID of the last processed Http2Stream optionalopaqueData: ArrayBufferViewA TypedArray or DataView instance containing additional data to be carried within the GOAWAY frame. Return Typevoid