ServerinoConfig.addListener
ServerinoConfig addListener(ListenerProtocol p = ListenerProtocol.IPV4)(string address, ushort port) @safe ref returnAdd a new listener. Plain HTTP.
ServerinoConfig addListener(ListenerProtocol p = ListenerProtocol.IPV4)(string address, ushort port, Https certificates) @safe ref returnAdd a new HTTPS listener, using the certificates provided. Plain and encrypted listeners can live together in the same process. Requires the https subconfiguration of serverino (POSIX only).
ServerinoConfig.create()
.addListener("0.0.0.0", 80) // plain http
.addListener("0.0.0.0", 443, Https("fullchain.pem", "privkey.pem"));