Skip to content

Commit 256133a

Browse files
Merge pull request #1309 from vytautas-pranskunas-/add-websocket-connected-message
Update: added connected message
2 parents 39288ff + a9aefc4 commit 256133a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/graphql/lib/src/links/websocket_link/websocket_client.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ class SocketClient {
278278
_connectionStateController.add(SocketConnectionState.handshake);
279279
} else {
280280
_connectionStateController.add(SocketConnectionState.connected);
281+
print('Connected to websocket.');
281282
}
282283
print('Initialising connection');
283284
_write(initOperation);

0 commit comments

Comments
 (0)