Closed duoduo70 closed 1 year ago
Hey there! What was the problem? If it's not a bug, maybe I can improve docs.
Hello! I want to use IPv6. I noticed template of method "config.d -> struct ServerinoConfig -> addListener" is "ListenerProtocol". But this enum is not static. I do not know how can use it. Can you help me? Thank you very well!
The right syntax is:
yourconfig.addListener!(ServerinoConfig.ListenerProtocol.IPV6)("localhost", 8080)
But there's a regression (just a missing import) that I've fixed right now. So please upgrade your dependencies with:
dub upgrade
Thank you for your report!
config.d -> struct ServerinoConfig -> enum ListenerProtocol should be changed to static