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 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.
Packages http and https could be merged into one and expose methods: createServer and createEncryptedServer, as like as http2 and https2.
According to the #21 issue, there is some confusion between Node.js interfaces so it requires research and probably rework current interfaces.
Thoughts
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 intocreateEncryptedServer
.createServer
andcreateEncryptedServer
, as like as http2 and https2.