Skip to content

Latest commit

 

History

History

RingCentral.Net.Retry

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Retry Extension

This extension allows you to retry a REST request if there is RestException.

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 retryExtension = new RetryExtension();
await rc.InstallExtension(retryExtension);

More documentation

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