Skip to main content

Interface: AxiosRetryConfig

moralis-monorepo / @moralisweb3/common-core / AxiosRetryConfig

Interface: AxiosRetryConfig

@moralisweb3/common-core.AxiosRetryConfig

Table of contents

Properties

Properties

allowedMethods

allowedMethods: string[]


allowedResponseStatuses

allowedResponseStatuses: number[]


beforeRetry

Optional beforeRetry: (attempt: number, error: AxiosError<unknown, any>) => void

Type declaration

▸ (attempt, error): void

Parameters
NameType
attemptnumber
errorAxiosError<unknown, any>
Returns

void


maxRetries

maxRetries: number