plant icon indicating copy to clipboard operation
plant copied to clipboard

Rework HTTPS creation interface

Open rumkin opened this issue 5 years ago • 0 comments

According to the #21 issue, there is some confusion between Node.js interfaces so it requires research and probably rework current interfaces.

Thoughts

  1. Current Node.js createSecureServer method for HTTP2 could be designed as more protected version while it's not. Developers could misinterpret the meaning of "secure" here, so it's better to rename this method into createEncryptedServer.
  2. Packages http and https could be merged into one and expose methods: createServer and createEncryptedServer, as like as http2 and https2.

rumkin avatar Jan 22 '20 17:01 rumkin