RetryRestClient

management. RetryRestClient

RetryRestClient Wrapper Rest Client that adds Retry functionality when requests are failing due to rate limiting (status code 429).

Constructor

new RetryRestClient(restClient, optionsopt)

Source:
Parameters:
Name Type Attributes Description
restClient Object

RestClient.

options Object <optional>

Options for the RetryRestClient.

Name Type Attributes Default Description
enabled:true Object <optional>

Enabled or Disable Retry Policy functionality.

maxRetries Number <optional>
10

The maximum amount of times to retry the operation. Default is 10.