add isEnabledAutomaticReconnection (#75)

* add isEnabledAutomaticReconnection

* test isEnabledAutomaticReconnection

* rename
This commit is contained in:
Dimon4eg authored and Benjamin Sergeant committed 2019-05-14 11:26:37 -07:00
1 parent 701be31554
commit 6dd8cda074
3 files changed
+12

No files matched your search

@@ -96,6 +96,12 @@ namespace
}
});
_webSocket.enableAutomaticReconnection();
REQUIRE(_webSocket.isAutomaticReconnectionEnabled() == true);
_webSocket.disableAutomaticReconnection();
REQUIRE(_webSocket.isAutomaticReconnectionEnabled() == false);
// Start the connection
_webSocket.start();
}