summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorKevin Simper <kevin.simper@gmail.com>2018-07-17 15:26:04 -0700
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-07-18 20:57:11 +0300
commit614c4c176d343500f655e32f55289956496d213e (patch)
tree51ccdc6d7e71f31d62b20f9bb59c4f7ba20ba650 /doc/api/http2.md
parente406cca5c3eb768dd66301fcac5429223e200955 (diff)
downloadandroid-node-v8-614c4c176d343500f655e32f55289956496d213e.tar.gz
android-node-v8-614c4c176d343500f655e32f55289956496d213e.tar.bz2
android-node-v8-614c4c176d343500f655e32f55289956496d213e.zip
doc: add missing `require` to example in http2.md
PR-URL: https://github.com/nodejs/node/pull/21858 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index a98c0f52b7..3a131c36a8 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -1921,6 +1921,7 @@ instances.
```js
const http2 = require('http2');
+const fs = require('fs');
const options = {
key: fs.readFileSync('server-key.pem'),