GameDataRetry14.1
Class in Unbroken.LaunchBox.Plugins.Components.GameData
public sealed class GameDataRetryReports a source rate limit without holding a capability call open during the cooldown.
Constructors
GameDataRetryCreates a rate-limit outcome.
GameDataRetry
public GameDataRetry(TimeSpan retryAfter)Creates a rate-limit outcome.
retryAfter- Minimum delay from receipt before the caller may retry. Must be nonnegative.
Properties
CanRetryGets or initializes whether the plugin permits another automatic attempt. When false, the caller must stop automatic retries for this request; any partial results remain usable.CountsAsAttemptGets or initializes whether a request was attempted. Increment the request's AttemptNumber before retrying when true; preserve it when false because a shared cooldown prevented the request. This does not remove the caller's responsibility to bound retries.RetryAfterGets the minimum delay before another attempt.
CanRetry
public bool CanRetry { get; init; }Gets or initializes whether the plugin permits another automatic attempt. When false, the caller must stop automatic retries for this request; any partial results remain usable.
CountsAsAttempt
public bool CountsAsAttempt { get; init; }Gets or initializes whether a request was attempted. Increment the request's AttemptNumber before retrying when true; preserve it when false because a shared cooldown prevented the request. This does not remove the caller's responsibility to bound retries.
RetryAfter
public TimeSpan RetryAfter { get; }Gets the minimum delay before another attempt.