From efd2571459924f40718130f7edd28a72a76b12d7 Mon Sep 17 00:00:00 2001 From: Leifa <26681464+TrickyLeifa@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:07:30 +0200 Subject: 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 --- src/networkmanager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/networkmanager.h') 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 #include @@ -50,7 +50,7 @@ private: AOApplication *ao_app; QNetworkAccessManager *http; - NetConnection *m_connection = nullptr; + WebSocketConnection *m_connection = nullptr; QTimer *heartbeat_timer; -- cgit