client websocket wrapper

remove deconstructor
This commit is contained in:
2026-02-14 14:32:36 +01:00
parent 7c6db0e02c
commit 758958fd3a
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -24,11 +24,6 @@ Web_socket_wrapper::Web_socket_wrapper(const QUrl &url, QObject *parent)
m_web_socket->open(url);
}
Web_socket_wrapper::~Web_socket_wrapper()
{
close();
}
void Web_socket_wrapper::send_command(Command c, size_t id)
{
json j;
+1 -1
View File
@@ -35,7 +35,7 @@ class Web_socket_wrapper : public QObject
public:
explicit Web_socket_wrapper(const QUrl &url, QObject *parent = nullptr);
~Web_socket_wrapper();
void send_command(Command c, size_t id = 0);
void send_command(Command c, QString val);
void send_event(Event e, size_t id);