From 5e3eddf21e3afcdf18b7e27c344e54be45752464 Mon Sep 17 00:00:00 2001 From: Jkorf Date: Thu, 26 Aug 2021 16:16:12 +0200 Subject: [PATCH] Updated version --- .../TestImplementations/TestSocket.cs | 1 + CryptoExchange.Net/CryptoExchange.Net.csproj | 6 +- CryptoExchange.Net/CryptoExchange.Net.xml | 145 ++++++++++++++++++ README.md | 3 + 4 files changed, 152 insertions(+), 3 deletions(-) diff --git a/CryptoExchange.Net.UnitTests/TestImplementations/TestSocket.cs b/CryptoExchange.Net.UnitTests/TestImplementations/TestSocket.cs index ed46836..35d2536 100644 --- a/CryptoExchange.Net.UnitTests/TestImplementations/TestSocket.cs +++ b/CryptoExchange.Net.UnitTests/TestImplementations/TestSocket.cs @@ -34,6 +34,7 @@ namespace CryptoExchange.Net.UnitTests.TestImplementations public int ConnectCalls { get; private set; } public bool Reconnecting { get; set; } public string Origin { get; set; } + public int? RatelimitPerSecond { get; set; } public static int lastId = 0; public static object lastIdLock = new object(); diff --git a/CryptoExchange.Net/CryptoExchange.Net.csproj b/CryptoExchange.Net/CryptoExchange.Net.csproj index f3d46ad..bf9e9cd 100644 --- a/CryptoExchange.Net/CryptoExchange.Net.csproj +++ b/CryptoExchange.Net/CryptoExchange.Net.csproj @@ -6,16 +6,16 @@ CryptoExchange.Net JKorf A base package for implementing cryptocurrency exchange API's - 4.0.7 + 4.0.8 4.0.0 - 4.0.7 + 4.0.8 false git https://github.com/JKorf/CryptoExchange.Net.git https://github.com/JKorf/CryptoExchange.Net en true - 4.0.7 - Additional error info on websocket exception + 4.0.8 - Added rate limiting option for outgoing messages per socket enable 8.0 MIT diff --git a/CryptoExchange.Net/CryptoExchange.Net.xml b/CryptoExchange.Net/CryptoExchange.Net.xml index b7eea1a..dc059e3 100644 --- a/CryptoExchange.Net/CryptoExchange.Net.xml +++ b/CryptoExchange.Net/CryptoExchange.Net.xml @@ -3906,3 +3906,148 @@ +System.Diagnostics.CodeAnalysis.AllowNullAttribute"> + + Specifies that is allowed as an input even if the + corresponding type disallows it. + + + + + Initializes a new instance of the class. + + + + + Specifies that is disallowed as an input even if the + corresponding type allows it. + + + + + Initializes a new instance of the class. + + + + + Specifies that a method that will never return under any circumstance. + + + + + Initializes a new instance of the class. + + + + + Specifies that the method will not return if the associated + parameter is passed the specified value. + + + + + Gets the condition parameter value. + Code after the method is considered unreachable by diagnostics if the argument + to the associated parameter matches this value. + + + + + Initializes a new instance of the + class with the specified parameter value. + + + The condition parameter value. + Code after the method is considered unreachable by diagnostics if the argument + to the associated parameter matches this value. + + + + + Specifies that an output may be even if the + corresponding type disallows it. + + + + + Initializes a new instance of the class. + + + + + Specifies that when a method returns , + the parameter may be even if the corresponding type disallows it. + + + + + Gets the return value condition. + If the method returns this value, the associated parameter may be . + + + + + Initializes the attribute with the specified return value condition. + + + The return value condition. + If the method returns this value, the associated parameter may be . + + + + + Specifies that an output is not even if the + corresponding type allows it. + + + + + Initializes a new instance of the class. + + + + + Specifies that the output will be non- if the + named parameter is non-. + + + + + Gets the associated parameter name. + The output will be non- if the argument to the + parameter specified is non-. + + + + + Initializes the attribute with the associated parameter name. + + + The associated parameter name. + The output will be non- if the argument to the + parameter specified is non-. + + + + + Specifies that when a method returns , + the parameter will not be even if the corresponding type allows it. + + + + + Gets the return value condition. + If the method returns this value, the associated parameter will not be . + + + + + Initializes the attribute with the specified return value condition. + + + The return value condition. + If the method returns this value, the associated parameter will not be . + + + + diff --git a/README.md b/README.md index 466324f..c9c1a68 100644 --- a/README.md +++ b/README.md @@ -320,6 +320,9 @@ private void SomeMethod() ```` ## Release notes +* Version 4.0.8 - 26 Aug 2021 + * Added rate limiting option for outgoing messages per socket + * Version 4.0.7 - 24 Aug 2021 * Additional error info on websocket exception