summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorMoritz Peters <maritz@users.noreply.github.com>2018-01-15 20:36:55 +0100
committerJoyee Cheung <joyeec9h3@gmail.com>2018-01-17 08:48:26 +0800
commitd3600e513ae277534e9a37b51489ec8584fbf3dc (patch)
treebd4f2385c614c25cbbc711993d962dd4b57d6893 /doc/api/http2.md
parentc90185c15e406df2c190e8ed7932d932e2260708 (diff)
downloadandroid-node-v8-d3600e513ae277534e9a37b51489ec8584fbf3dc.tar.gz
android-node-v8-d3600e513ae277534e9a37b51489ec8584fbf3dc.tar.bz2
android-node-v8-d3600e513ae277534e9a37b51489ec8584fbf3dc.zip
doc: fix typo in http2stream.close param default
PR-URL: https://github.com/nodejs/node/pull/18166 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index fa75f7be5f..e79e46ac3e 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -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}