Constructs a new instance of a web server application that
utilizes the express framework. This method makes it very
simple to spin up either an HTTP or HTTPs server with
preloaded recommended headers for APIs and the like.
It also supports auto-generating development SSL certificates
for the specified hostname(s) and installing a development
root CA in your OS. This mode is NOT for production use.
Constructs a new instance of a web server application that utilizes the express framework. This method makes it very simple to spin up either an HTTP or HTTPs server with preloaded recommended headers for APIs and the like.
It also supports auto-generating development SSL certificates for the specified hostname(s) and installing a development root CA in your OS. This mode is NOT for production use.