Skip to content

Commit 4d78a21

Browse files
kevinsimpertargos
authored andcommitted
doc: add missing require to example in http2.md
PR-URL: #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>
1 parent ab0da57 commit 4d78a21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/http2.md

+1
Original file line numberDiff line numberDiff line change
@@ -1921,6 +1921,7 @@ instances.
19211921

19221922
```js
19231923
const http2 = require('http2');
1924+
const fs = require('fs');
19241925

19251926
const options = {
19261927
key: fs.readFileSync('server-key.pem'),

0 commit comments

Comments
 (0)