1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-10-20 01:50:54 +00:00

Added WithRateLimitAdmissionAsync for REST and Socket clients

This commit is contained in:
Jkorf
2026-09-17 11:33:47 +02:00
parent e5da147ba8
commit a34684cd31
13 changed files with 161 additions and 37 deletions
@@ -32,7 +32,7 @@ namespace CryptoExchange.Net.RateLimiting.Guards
public string Name => "EndpointLimitGuard";
/// <inheritdoc />
public string Description => $"Limit requests to endpoint";
public string Description => _windowType == RateLimitWindowType.Decay ? $"Endpoint limit of {_limit} with a decay rate of {_decayRate}" : $"Limit of {_limit} per {_period}";
/// <summary>
/// ctor