mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-21 21:33:01 +00:00
Added properties dictionary to socket connection
This commit is contained in:
@@ -107,6 +107,11 @@ namespace CryptoExchange.Net.Sockets
|
|||||||
/// Tag for identificaion
|
/// Tag for identificaion
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Tag { get; set; }
|
public string Tag { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Additional properties for this connection
|
||||||
|
/// </summary>
|
||||||
|
public Dictionary<string, object> Properties { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// If activity is paused
|
/// If activity is paused
|
||||||
@@ -170,6 +175,7 @@ namespace CryptoExchange.Net.Sockets
|
|||||||
_logger = logger;
|
_logger = logger;
|
||||||
ApiClient = apiClient;
|
ApiClient = apiClient;
|
||||||
Tag = tag;
|
Tag = tag;
|
||||||
|
Properties = new Dictionary<string, object>();
|
||||||
|
|
||||||
_pendingRequests = new List<PendingRequest>();
|
_pendingRequests = new List<PendingRequest>();
|
||||||
_subscriptions = new List<SocketSubscription>();
|
_subscriptions = new List<SocketSubscription>();
|
||||||
|
|||||||
Reference in New Issue
Block a user