1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-18 03:43:00 +00:00

Rename RatelimiterEnabled option to RateLimiterEnabled

This commit is contained in:
JKorf
2024-04-17 13:37:45 +02:00
parent 1b1961db00
commit d5c4b1bd01
6 changed files with 100 additions and 56 deletions
@@ -31,7 +31,7 @@ namespace CryptoExchange.Net.Objects.Options
/// <summary>
/// Whether or not client side rate limiting should be applied
/// </summary>
public bool RatelimiterEnabled { get; set; } = true;
public bool RateLimiterEnabled { get; set; } = true;
/// <summary>
/// What should happen when a rate limit is reached
/// </summary>
@@ -33,7 +33,7 @@ namespace CryptoExchange.Net.Objects.Options
ApiCredentials = ApiCredentials?.Copy(),
Proxy = Proxy,
RequestTimeout = RequestTimeout,
RatelimiterEnabled = RatelimiterEnabled,
RateLimiterEnabled = RateLimiterEnabled,
RateLimitingBehaviour = RateLimitingBehaviour
};
}
@@ -67,7 +67,7 @@ namespace CryptoExchange.Net.Objects.Options
Proxy = Proxy,
RequestTimeout = RequestTimeout,
RateLimitingBehaviour = RateLimitingBehaviour,
RatelimiterEnabled = RatelimiterEnabled,
RateLimiterEnabled = RateLimiterEnabled,
};
}
}