property
Server.protocol
readonly protocol: null | 'http' | 'https'
The protocol the server is listening on.
- "http" for normal servers
- "https" when TLS is enabled
- null for unix sockets or when unavailable