Skip to content

Commit 42feae7

Browse files
committed
expose the getter of open in WebsocketConnection so it can be used from outside the lib
1 parent d5538d5 commit 42feae7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/src/browser/browser_ws_conn.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ class WebSocketConnection extends Connection {
7878
}
7979

8080
bool _opened = false;
81+
bool get opened => _opened;
82+
8183
void _onOpen(Event e) {
8284
logger.info("Connected");
8385
_opened = true;

0 commit comments

Comments
 (0)