// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include namespace zen { 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 CreateHttpAsioServer(const AsioConfig& Config); bool IsIPv6Capable(); } // namespace zen