Working on local and websocket client

This commit is contained in:
Vladislav Khorev committed 2026-01-15 13:41:00 +03:00
1 parent 483757f8ca
commit ea26d6fb23
8 files changed
+178 -37

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#pragma once
// WebSocketClient.h
#include "NetworkInterface.h"
#include <queue>
namespace ZL {
class LocalClient : public INetworkClient {
private:
std::queue<std::string> messageQueue;
public:
void Connect(const std::string& host, uint16_t port) override;
void Poll() override;
void Send(const std::string& message) override;
bool IsConnected() const override { return true; }
int GetClientId() const { return 1; }
};
}