isRetryable static method

bool isRetryable(
  1. int statusCode
)

是否可以重试

Implementation

static bool isRetryable(int statusCode) =>
    retryableStatuses.contains(statusCode);