Search
Preparing search index...
The search index is not available
Cognite JavaScript SDK (beta)
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"core/src/httpClient/retryValidator"
Module "core/src/httpClient/retryValidator"
Index
Variables
MAX_
RETRY_
ATTEMPTS
Functions
create
Retry
Validator
create
Universal
Retry
Validator
is
Valid
Retry
Status
Code
match
Path
With
Endpoint
match
Path
With
Endpoints
Variables
Const
MAX_
RETRY_
ATTEMPTS
MAX_
RETRY_
ATTEMPTS
:
5
= 5
Functions
Const
create
Retry
Validator
create
Retry
Validator
(
endpointsToRetry
:
EndpointList
, maxRetries
?:
number
)
:
RetryValidator
Parameters
endpointsToRetry:
EndpointList
Default value
maxRetries:
number
= MAX_RETRY_ATTEMPTS
Returns
RetryValidator
Const
create
Universal
Retry
Validator
create
Universal
Retry
Validator
(
maxRetries
?:
number
)
:
RetryValidator
Parameters
Default value
maxRetries:
number
= MAX_RETRY_ATTEMPTS
Returns
RetryValidator
is
Valid
Retry
Status
Code
is
Valid
Retry
Status
Code
(
status
:
number
)
:
boolean
Parameters
status:
number
Returns
boolean
match
Path
With
Endpoint
match
Path
With
Endpoint
(
path
:
string
, endpoint
:
string
)
:
boolean
Parameters
path:
string
endpoint:
string
Returns
boolean
match
Path
With
Endpoints
match
Path
With
Endpoints
(
path
:
string
, endpoints
:
string
[]
)
:
boolean
Parameters
path:
string
endpoints:
string
[]
Returns
boolean
Globals
"core/src/http
Client/retry
Validator"
MAX_
RETRY_
ATTEMPTS
create
Retry
Validator
create
Universal
Retry
Validator
is
Valid
Retry
Status
Code
match
Path
With
Endpoint
match
Path
With
Endpoints