16 return std::make_unique<EmscriptenHttpClient>();
18 return std::make_unique<HttpLibClient>();
24 return std::make_unique<EmscriptenWebSocket>();
26 return std::make_unique<HttpLibWebSocket>();
36 #ifdef CPPHTTPLIB_OPENSSL_SUPPORT
std::string GetNetworkPlatform()
Get the platform name for debugging.
bool IsSSLSupported()
Check if the current platform supports SSL/TLS.
std::unique_ptr< IWebSocket > CreateWebSocket()
Create a WebSocket client for the current platform.
std::unique_ptr< IHttpClient > CreateHttpClient()
Factory functions for creating network clients.