@@ -328,7 +328,6 @@ added: v8.4.0
328328* ` code ` {number} The HTTP/2 error code to send in the final ` GOAWAY ` frame.
329329 If unspecified, and ` error ` is not undefined, the default is ` INTERNAL_ERROR ` ,
330330 otherwise defaults to ` NO_ERROR ` .
331- * Returns: {undefined}
332331
333332Immediately terminates the ` Http2Session ` and the associated ` net.Socket ` or
334333` tls.TLSSocket ` .
@@ -471,7 +470,6 @@ added: v8.4.0
471470
472471* ` msecs ` {number}
473472* ` callback ` {Function}
474- * Returns: {undefined}
475473
476474Used to set a callback function that is called when there is no activity on
477475the ` Http2Session ` after ` msecs ` milliseconds. The given ` callback ` is
@@ -531,7 +529,6 @@ added: v8.4.0
531529-->
532530
533531* ` settings ` {HTTP2 Settings Object}
534- * Returns {undefined}
535532
536533Updates the current local settings for this ` Http2Session ` and sends a new
537534` SETTINGS ` frame to the connected HTTP/2 peer.
@@ -886,7 +883,6 @@ added: v8.4.0
886883 ` http2.constants.NGHTTP2_NO_ERROR ` (` 0x00 ` )
887884* ` callback ` {Function} An optional function registered to listen for the
888885 ` 'close' ` event.
889- * Returns: {undefined}
890886
891887Closes the ` Http2Stream ` instance by sending an ` RST_STREAM ` frame to the
892888connected HTTP/2 peer.
@@ -937,7 +933,6 @@ added: v8.4.0
937933 and ` 256 ` (inclusive).
938934 * ` silent ` {boolean} When ` true ` , changes the priority locally without
939935 sending a ` PRIORITY ` frame to the connected peer.
940- * Returns: {undefined}
941936
942937Updates the priority for this ` Http2Stream ` instance.
943938
@@ -998,7 +993,6 @@ added: v8.4.0
998993
999994* ` msecs ` {number}
1000995* ` callback ` {Function}
1001- * Returns: {undefined}
1002996
1003997``` js
1004998const http2 = require (' http2' );
@@ -1121,7 +1115,6 @@ added: v8.4.0
11211115-->
11221116
11231117* ` headers ` {HTTP2 Headers Object}
1124- * Returns: {undefined}
11251118
11261119Sends an additional informational ` HEADERS ` frame to the connected HTTP/2 peer.
11271120
@@ -1165,7 +1158,6 @@ added: v8.4.0
11651158 * ` pushStream ` {ServerHttp2Stream} The returned pushStream object.
11661159 * ` headers ` {HTTP2 Headers Object} Headers object the pushStream was
11671160 initiated with.
1168- * Returns: {undefined}
11691161
11701162Initiates a push stream. The callback is invoked with the new ` Http2Stream `
11711163instance created for the push stream passed as the second argument, or an
@@ -1200,7 +1192,6 @@ added: v8.4.0
12001192 include payload data.
12011193 * ` getTrailers ` {Function} Callback function invoked to collect trailer
12021194 headers.
1203- * Returns: {undefined}
12041195
12051196``` js
12061197const http2 = require (' http2' );
0 commit comments