tls: document and test option-less createServer
Either the options or the listener argument to tls.createServer() was optional, but not both. This makes no sense, so align the argument checking and documentation with net.createServer(), which accepts the same option sequence, and which tls.createServer() is modelled on. PR-URL: https://github.com/nodejs/node/pull/9800 Reviewed-By:Roman Reiss <me@silverwind.io> Reviewed-By:
Michael Dawson <michael_dawson@ca.ibm.com>
parent
c3839f7e
Please register or sign in to comment