Skip to content

Commit

Permalink
doc: add missing require to example in http2.md
Browse files Browse the repository at this point in the history
Backport-PR-URL: #22850
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>
  • Loading branch information
kevinsimper authored and BethGriggs committed Oct 16, 2018
1 parent e5175e6 commit 32bfd7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1921,6 +1921,7 @@ instances.

```js
const http2 = require('http2');
const fs = require('fs');

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

0 comments on commit 32bfd7e

Please sign in to comment.