mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-07 03:41:14 +00:00
Shared exchange functionality (#214)
This commit is contained in:
@@ -30,6 +30,15 @@ namespace CryptoExchange.Net.Objects.Sockets
|
||||
remove => _connection.ConnectionClosed -= value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event when a lost connection is restored, but the resubscribing of update subscriptions failed
|
||||
/// </summary>
|
||||
public event Action<Error> ResubscribingFailed
|
||||
{
|
||||
add => _connection.ResubscribingFailed += value;
|
||||
remove => _connection.ResubscribingFailed -= value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event when the connection is restored. Timespan parameter indicates the time the socket has been offline for before reconnecting.
|
||||
/// Note that when the executing code is suspended and resumed at a later period (for example, a laptop going to sleep) the disconnect time will be incorrect as the diconnect
|
||||
|
||||
Reference in New Issue
Block a user