Class RateLimit
- Namespace
- Auth0.Core.Exceptions
- Assembly
- Auth0.Core.dll
Represents information about the rate limit for API calls.
public class RateLimit
- Inheritance
-
RateLimit
- Inherited Members
Properties
Limit
The maximum number of requests the consumer is allowed to make.
public long Limit { get; }
Property Value
Remaining
The number of requests remaining in the current rate limit window.
public long Remaining { get; }
Property Value
Reset
The date and time offset at which the current rate limit window is reset.
public DateTimeOffset? Reset { get; }
Property Value
Methods
Parse(HttpHeaders)
Parse the rate limit headers into a RateLimit object.
public static RateLimit Parse(HttpHeaders headers)
Parameters
headers
HttpHeadersHttpHeaders to parse.