add isEnabledAutomaticReconnection (#75)
* add isEnabledAutomaticReconnection * test isEnabledAutomaticReconnection * rename
This commit is contained in:
committed by
Benjamin Sergeant
parent
c935be6a49
commit
186c8fbb62
@ -96,6 +96,12 @@ namespace
|
||||
}
|
||||
});
|
||||
|
||||
_webSocket.enableAutomaticReconnection();
|
||||
REQUIRE(_webSocket.isAutomaticReconnectionEnabled() == true);
|
||||
|
||||
_webSocket.disableAutomaticReconnection();
|
||||
REQUIRE(_webSocket.isAutomaticReconnectionEnabled() == false);
|
||||
|
||||
// Start the connection
|
||||
_webSocket.start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user