plant
plant copied to clipboard
Rework HTTPS creation interface
According to the #21 issue, there is some confusion between Node.js interfaces so it requires research and probably rework current interfaces.
Thoughts
- Current Node.js
createSecureServermethod 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 intocreateEncryptedServer. - Packages http and https could be merged into one and expose methods:
createServerandcreateEncryptedServer, as like as http2 and https2.