Skip to content

Commit

Permalink
doc: fix typo in http2stream.close param default
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
maritz authored and evanlucas committed Jan 30, 2018
1 parent 0c8b5d5 commit b4e7260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ added: v8.4.0
-->

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

0 comments on commit b4e7260

Please sign in to comment.