add isEnabledAutomaticReconnection (#75)
* add isEnabledAutomaticReconnection * test isEnabledAutomaticReconnection * rename
This commit is contained in:
committed by
Benjamin Sergeant
parent
c935be6a49
commit
186c8fbb62
@ -458,6 +458,11 @@ namespace ix
|
||||
_automaticReconnection = false;
|
||||
}
|
||||
|
||||
bool WebSocket::isAutomaticReconnectionEnabled() const
|
||||
{
|
||||
return _automaticReconnection;
|
||||
}
|
||||
|
||||
size_t WebSocket::bufferedAmount() const
|
||||
{
|
||||
return _ws.bufferedAmount();
|
||||
|
@ -130,6 +130,7 @@ namespace ix
|
||||
|
||||
void enableAutomaticReconnection();
|
||||
void disableAutomaticReconnection();
|
||||
bool isAutomaticReconnectionEnabled() const;
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user