mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-18 11:52:54 +00:00
Added paused activity socket events
This commit is contained in:
@@ -29,6 +29,24 @@ namespace CryptoExchange.Net.Sockets
|
||||
remove => connection.ConnectionRestored -= value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event when the connection to the server is paused. No operations can be performed while paused
|
||||
/// </summary>
|
||||
public event Action ActivityPaused
|
||||
{
|
||||
add => connection.ActivityPaused += value;
|
||||
remove => connection.ActivityPaused -= value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event when the connection to the server is unpaused
|
||||
/// </summary>
|
||||
public event Action ActivityUnpaused
|
||||
{
|
||||
add => connection.ActivityUnpaused += value;
|
||||
remove => connection.ActivityUnpaused -= value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event when an exception happened
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user