defaultTransientHttpStatusCodePredicate static method

bool defaultTransientHttpStatusCodePredicate(
  1. int statusCode
)

Uses defaultTransientHttpStatusCodes to determine if the statusCode is transient.

Implementation

static bool defaultTransientHttpStatusCodePredicate(int statusCode) {
  return defaultTransientHttpStatusCodes.contains(statusCode);
}