mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-15 10:22:57 +00:00
Added exception event on socket subscription
This commit is contained in:
@@ -25,6 +25,15 @@ namespace CryptoExchange.Net.Sockets
|
||||
remove => subscription.ConnectionRestored -= value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event when an exception happened
|
||||
/// </summary>
|
||||
public event Action<Exception> Exception
|
||||
{
|
||||
add => subscription.Exception += value;
|
||||
remove => subscription.Exception -= value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The id of the socket
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user