Options to be used when creating the server. Due to Components.js not supporting external types, this has been simplified (for now?). The common https keys here (key/cert/pfx) will be interpreted as file paths that need to be read before passing the options to the createServer function.

Hierarchy

  • BaseHttpServerOptions

Properties

cert?: string
https?: boolean

If the server should start as an http or https server.

key?: string
passphrase?: string
pfx?: string
showStackTrace?: boolean

If the error stack traces should be shown in case the HttpHandler throws one.