Skip to content

Commit

Permalink
doc: fix comment about http2.createSecureServer
Browse files Browse the repository at this point in the history
PR-URL: #15085
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
creeperyang authored and MylesBorins committed Sep 12, 2017
1 parent f612a6d commit 3697cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ const options = {
cert: fs.readFileSync('server-cert.pem')
};

// Create a plain-text HTTP/2 server
// Create a secure HTTP/2 server
const server = http2.createSecureServer(options);

server.on('stream', (stream, headers) => {
Expand Down

0 comments on commit 3697cd8

Please sign in to comment.