Class ThrottlingRetryPolicy
Constructors
constructor
new ThrottlingRetryPolicy( nextPolicy: RequestPolicy , options: RequestPolicyOptions ) : ThrottlingRetryPolicy
Parameters
nextPolicy: RequestPolicy
options: RequestPolicyOptions
Methods
sendRequest
sendRequest( httpRequest: WebResource ) : Promise < HttpOperationResponse >
Parameters
Returns Promise < HttpOperationResponse >
Static parseDateRetryAfterHeader
parseDateRetryAfterHeader( headerValue: string ) : number | undefined
Parameters
Returns number | undefined
Static parseRetryAfterHeader
parseRetryAfterHeader( headerValue: string ) : number | undefined
Parameters
Returns number | undefined
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
This policy is a close copy of the ThrottlingRetryPolicy class from core-http with modifications to work with how AppConfig is currently responding to 429 responses (which is to throw a RestError).