1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-08 16:36:15 +00:00

Update RateLimiterPerEndpoint.cs

This commit is contained in:
Burak Öner 2021-01-06 00:27:47 +03:00 committed by GitHub
parent d3cb358328
commit ad4c6e6a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ namespace CryptoExchange.Net.RateLimiter
} }
/// <inheritdoc /> /// <inheritdoc />
public CallResult<double> LimitRequest(RestClient client, string url, RateLimitingBehaviour limitingBehaviour) public CallResult<double> LimitRequest(RestClient client, string url, RateLimitingBehaviour limitingBehaviour, int credits = 1)
{ {
int waitTime; int waitTime;
RateLimitObject rlo; RateLimitObject rlo;