StorageRetryPolicyFactory class

StorageRetryPolicyFactory is a factory class helping generating StorageRetryPolicy objects.

Constructors

StorageRetryPolicyFactory(StorageRetryOptions)

Creates an instance of StorageRetryPolicyFactory.

Methods

create(RequestPolicy, RequestPolicyOptionsLike)

Creates a StorageRetryPolicy object.

Constructor Details

StorageRetryPolicyFactory(StorageRetryOptions)

Creates an instance of StorageRetryPolicyFactory.

new StorageRetryPolicyFactory(retryOptions?: StorageRetryOptions)

Parameters

retryOptions
StorageRetryOptions

Method Details

create(RequestPolicy, RequestPolicyOptionsLike)

Creates a StorageRetryPolicy object.

function create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): StorageRetryPolicy

Parameters

nextPolicy
IHttpClient

Returns