yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
network_factory.h
Go to the documentation of this file.
1#ifndef YAZE_APP_NET_NETWORK_FACTORY_H_
2#define YAZE_APP_NET_NETWORK_FACTORY_H_
3
4#include <memory>
5#include <string>
6
9
10namespace yaze {
11namespace net {
12
29std::unique_ptr<IHttpClient> CreateHttpClient();
30
39std::unique_ptr<IWebSocket> CreateWebSocket();
40
45bool IsSSLSupported();
46
51std::string GetNetworkPlatform();
52
53} // namespace net
54} // namespace yaze
55
56#endif // YAZE_APP_NET_NETWORK_FACTORY_H_
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.