aboutsummaryrefslogtreecommitdiff
path: root/src/networkmanager.h
diff options
context:
space:
mode:
authorLeifa <26681464+TrickyLeifa@users.noreply.github.com>2024-07-09 13:07:30 +0200
committerGitHub <noreply@github.com>2024-07-09 13:07:30 +0200
commitefd2571459924f40718130f7edd28a72a76b12d7 (patch)
tree91751194abb0bfe1306976d676740b43a53dd81b /src/networkmanager.h
parent662d4781d2653e02b9f3727a9299ded8c7b1eaa2 (diff)
Remove TCP entry point (#1007)
* Remove TCP entry point Resolve #987 * Remove TCP entry point * Servers that do not support WebSocket will be marked as `Legacy` * Removal of TCP connection from the master will follow later. * Tweaked error message
Diffstat (limited to 'src/networkmanager.h')
-rw-r--r--src/networkmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networkmanager.h b/src/networkmanager.h
index 4ec539fc..8f2d8d42 100644
--- a/src/networkmanager.h
+++ b/src/networkmanager.h
@@ -2,7 +2,7 @@
#include "aoapplication.h"
#include "aopacket.h"
-#include "net/netconnection.h"
+#include "network/websocketconnection.h"
#include <QDnsLookup>
#include <QNetworkAccessManager>
@@ -50,7 +50,7 @@ private:
AOApplication *ao_app;
QNetworkAccessManager *http;
- NetConnection *m_connection = nullptr;
+ WebSocketConnection *m_connection = nullptr;
QTimer *heartbeat_timer;