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
PR-URL: #21858
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
kevinsimper authored and vsemozhetbyt committed Jul 18, 2018
1 parent e406cca commit 614c4c1
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 614c4c1

Please sign in to comment.