mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-15 02:13:01 +00:00
Feature/userdata tracker (#271)
Added user data tracking logic Added LastReceiveTime, SocketStatus and SubscriptionStatus properties to UpdateSubscription Added SharedTransferStatus Enum and property to SharedDeposit Added PositionMode property to SharedPosition model Added IsZero property to SharedQuantity Renamed IWebSocket LastActionTime to LastReceiveTime Updated CryptoExchangeWebsocketClient LastReceiveTime logic Updated Subscription status change event handler to run sync instead of separate task
This commit is contained in:
@@ -178,6 +178,11 @@ namespace CryptoExchange.Net.Sockets.Default
|
||||
/// </summary>
|
||||
public DateTime? DisconnectTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Last timestamp something was received from the server
|
||||
/// </summary>
|
||||
public DateTime? LastReceiveTime => _socket.LastReceiveTime;
|
||||
|
||||
/// <summary>
|
||||
/// Tag for identification
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user