method Http2Stream.closeHttp2Stream.close(code?: number,callback?: () => void,): voidDeprecatedCloses the Http2Stream instance by sending an RST_STREAM frame to the connected HTTP/2 peer. Parametersoptionalcode: number = http2.constants.NGHTTP2_NO_ERRORUnsigned 32-bit integer identifying the error code. optionalcallback: () => voidAn optional function registered to listen for the 'close' event. Return Typevoid