Closes the Http2Stream
instance by sending an RST_STREAM
frame to the connected HTTP/2 peer.
method
http2.ServerHttp2Stream.close
code?: number,
callback?: () => void
): void;
@param code
Unsigned 32-bit integer identifying the error code.
@param callback
An optional function registered to listen for the 'close'
event.