Skip to content

Commit c455e36

Browse files
author
Gabor
committed
Expose socket client
1 parent 62f1fcc commit c455e36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ class WebSocketLink extends Link {
4545
);
4646
}
4747

48+
SocketClient? get getSocketClient => _socketClient;
49+
4850
/// Disposes the underlying socket client explicitly. Only use this, if you want to disconnect from
4951
/// the current server in favour of another one. If that's the case, create a new [WebSocketLink] instance.
5052
Future<void> dispose() async {

0 commit comments

Comments
 (0)