Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: fix comment about http2.createSecureServer
  • Loading branch information
creeperyang committed Aug 30, 2017
commit a874b730f20f144667dd8850834798a1faddbd01
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,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