mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-20 12:53:02 +00:00
Update RateLimiterAPIKey.cs
This commit is contained in:
@@ -34,7 +34,7 @@ namespace CryptoExchange.Net.RateLimiter
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CallResult<double> LimitRequest(RestClient client, string url, RateLimitingBehaviour limitBehaviour)
|
public CallResult<double> LimitRequest(RestClient client, string url, RateLimitingBehaviour limitBehaviour, int credits = 1)
|
||||||
{
|
{
|
||||||
if(client.authProvider?.Credentials?.Key == null)
|
if(client.authProvider?.Credentials?.Key == null)
|
||||||
return new CallResult<double>(0, null);
|
return new CallResult<double>(0, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user