1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-19 20:33:03 +00:00

added incoming kbps property for sockets, updated logging

This commit is contained in:
Jkorf
2021-09-29 13:28:35 +02:00
parent 89de0da724
commit aa07029c21
8 changed files with 137 additions and 164 deletions
+11
View File
@@ -120,6 +120,17 @@ namespace CryptoExchange.Net.Objects
{
return new WebCallResult<T>(null, null, default, error);
}
/// <summary>
/// Copy the WebCallResult to a new data type
/// </summary>
/// <typeparam name="K">The new type</typeparam>
/// <param name="data">The data of the new type</param>
/// <returns></returns>
public CallResult<K> As<K>([AllowNull] K data)
{
return new CallResult<K>(data, Error);
}
}
/// <summary>