drupflare/drangler - v0.1.0
    Preparing search index...

    Function readEnvelope

    • Reads one Cloudflare API envelope.

      A 200 with success: false is the normal way this API reports a permission problem, so the status code alone is not the check; treating it as one is how a "no workers" answer gets confused with a token that cannot list them.

      Type Parameters

      • T

      Parameters

      • response: Response
      • what: string

      Returns Promise<T>