Skip to content

Commit 97a909b

Browse files
authored
Merge pull request #55 from IOT-DSA/rick
expose the getter of open in WebsocketConnection so it can be used fr…
2 parents d5538d5 + 42feae7 commit 97a909b

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)