diff options
Diffstat (limited to 'src/zenhttp/servers/httpasio.h')
| -rw-r--r-- | src/zenhttp/servers/httpasio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/zenhttp/servers/httpasio.h b/src/zenhttp/servers/httpasio.h index 3ec1141a7..21d10170e 100644 --- a/src/zenhttp/servers/httpasio.h +++ b/src/zenhttp/servers/httpasio.h @@ -11,6 +11,13 @@ struct AsioConfig unsigned int ThreadCount = 0; bool ForceLoopback = false; bool IsDedicatedServer = false; + bool NoNetwork = false; + std::string UnixSocketPath; +#if ZEN_USE_OPENSSL + int HttpsPort = 0; // 0 = auto-assign; set CertFile/KeyFile to enable HTTPS + std::string CertFile; // PEM certificate chain file (empty = HTTPS disabled) + std::string KeyFile; // PEM private key file +#endif }; Ref<HttpServer> CreateHttpAsioServer(const AsioConfig& Config); |