Transmits a GOAWAY
frame to the connected peer without shutting down theHttp2Session
.
method
http2.Http2Session.goaway
code?: number,
lastStreamID?: number,
opaqueData?: ArrayBufferView<ArrayBufferLike>
): void;
@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.