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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user