Skip to content

Commit b4e7260

Browse files
maritzevanlucas
authored andcommitted
doc: fix typo in http2stream.close param default
PR-URL: #18166 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 0c8b5d5 commit b4e7260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ added: v8.4.0
919919
-->
920920

921921
* code {number} Unsigned 32-bit integer identifying the error code. **Default:**
922-
`http2.constant.NGHTTP2_NO_ERROR` (`0x00`)
922+
`http2.constants.NGHTTP2_NO_ERROR` (`0x00`)
923923
* `callback` {Function} An optional function registered to listen for the
924924
`'close'` event.
925925
* Returns: {undefined}

0 commit comments

Comments
 (0)