Class RateLimitEvent
Event containing information about the happened rate limit event
Inherited Members
Namespace: PnP.Core.Services
Assembly: PnP.Core.dll
Syntax
public sealed class RateLimitEvent : IRateLimitEvent
Constructors
RateLimitEvent(HttpRequestMessage, HttpResponseMessage)
Rate limit event constructor
Declaration
public RateLimitEvent(HttpRequestMessage requestMessage, HttpResponseMessage responseMessage)
Parameters
|
HttpRequestMessage
requestMessage
Response for the retried request |
|
HttpResponseMessage
responseMessage
Request that's retried |
Properties
Limit
Maximum number of requests per window
Declaration
public int Limit { get; }
Property Value
| int |
Implements
Properties
Event property bag
Declaration
public IDictionary<string, object> Properties { get; }
Property Value
| IDictionary<string, object> |
Implements
Remaining
The remaining requests in the current window.
Declaration
public int Remaining { get; }
Property Value
| int |