From a9aefc41909eb6911c4c4de1d0477bb620d1098d Mon Sep 17 00:00:00 2001 From: Vytautas Pranskunas Date: Wed, 15 Mar 2023 15:13:09 +0100 Subject: [PATCH] feat(graphql): print the connection status with ws This reverts commit cb8973bd13fe511ecfaf7864b5f8dbebc1f9b35f. --- .../graphql/lib/src/links/websocket_link/websocket_client.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/graphql/lib/src/links/websocket_link/websocket_client.dart b/packages/graphql/lib/src/links/websocket_link/websocket_client.dart index a392f30e..ccfe3dc2 100644 --- a/packages/graphql/lib/src/links/websocket_link/websocket_client.dart +++ b/packages/graphql/lib/src/links/websocket_link/websocket_client.dart @@ -278,6 +278,7 @@ class SocketClient { _connectionStateController.add(SocketConnectionState.handshake); } else { _connectionStateController.add(SocketConnectionState.connected); + print('Connected to websocket.'); } print('Initialising connection'); _write(initOperation);