CupThread React Native & Expo SDK - v0.1.0
    Preparing search index...

    Function parseRetryAfterMs

    • Converts a Retry-After response header into milliseconds. Accepts both the delta-seconds form ("30") and the HTTP-date form; returns null when the header is absent or unparseable.

      Parameters

      • headerValue: string | null | undefined

      Returns number | null