Table of Contents

Class RateLimitingException

Namespace
Sportradar.LiveData.Sdk.Common.Exceptions
Assembly
Sportradar.LiveData.Sdk.dll

Rate limit threshold exceeded exception.

[Serializable]
public class RateLimitingException : SdkBaseException, ISerializable
Inheritance
RateLimitingException
Implements
Derived
Inherited Members

Constructors

RateLimitingException()

public RateLimitingException()

RateLimitingException(TimeSpan, IProtocolRequest)

Initializes a new instance of the RateLimitingException class

public RateLimitingException(TimeSpan wait_until, IProtocolRequest request)

Parameters

wait_until TimeSpan

Required time to wait in order to pass the rate limiter

request IProtocolRequest

Request message that was rejected during rate limiting

Properties

Command

Request message that was rejected during rate limiting

public IProtocolRequest Command { get; }

Property Value

IProtocolRequest

WaitUntil

Required time to wait in order to pass the rate limiter

public TimeSpan WaitUntil { get; }

Property Value

TimeSpan