Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 733 Bytes

File metadata and controls

22 lines (18 loc) · 733 Bytes

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.