Skip to content

Latest commit

 

History

History

RingCentral.Net.RateLimit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Rate Limit Extension

This extension automatically handles rate limit for you. If you request API too frequently and hit rate limit, this extension smartly wait and retry your API calls.

var rc = new RestClient(
    Environment.GetEnvironmentVariable("RINGCENTRAL_CLIENT_ID"),
    Environment.GetEnvironmentVariable("RINGCENTRAL_CLIENT_SECRET"),
    Environment.GetEnvironmentVariable("RINGCENTRAL_SERVER_URL")
);
await rc.Authorize(
    Environment.GetEnvironmentVariable("RINGCENTRAL_JWT_TOKEN"),
);
var rateLimitExtension = new RateLimitExtension();
await rc.InstallExtension(rateLimitExtension);

More documentation

This extension is inspired by its TypeScript counterpart , check its documentation for more information.