// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include #ifndef ZEN_WITH_HTTPSYS # if ZEN_PLATFORM_WINDOWS # define ZEN_WITH_HTTPSYS 1 # else # define ZEN_WITH_HTTPSYS 0 # endif #endif namespace zen { struct HttpSysConfig { unsigned int ThreadCount = 0; unsigned int AsyncWorkThreadCount = 0; bool IsAsyncResponseEnabled = true; bool IsRequestLoggingEnabled = false; bool IsDedicatedServer = false; bool ForceLoopback = false; int HttpsPort = 0; // 0 = HTTPS disabled std::string CertThumbprint; // Hex SHA-1 (40 chars) for auto SSL binding std::string CertStoreName = "MY"; // Windows certificate store name bool HttpsOnly = false; // When true, disable HTTP listener }; Ref CreateHttpSysServer(HttpSysConfig Config); } // namespace zen