Options passed to Server#start
Members
hostname :string
The hostname to use. This influences both the URL given to browsers and the addresses on which the socket listens. If blank, for backward compatibility, the browsers will be pointed to localhost, but the listening socket will listen on all IPs.
Type:
- string
port :number|undefined
The port number to listen on.
Type:
- number | undefined
tlsCert :string
The path to a TLS cert. Activates HTTPS mode. If specified, tlsKey must also be specified.
Type:
- string
tlsKey :string
The path to a TLS key. Activates HTTPS mode. If specified, tlsCert must also be specified.
Type:
- string