kaven-utils - v5.5.1
    Preparing search index...

    Function HttpTryGetText

    • Makes an asynchronous attempt to perform a GET request to one or more URLs. If multiple URLs are provided, it resolves with the first successful response.

      Parameters

      • urls: string | string[]

        A single URL or an array of URLs to attempt the GET request.

      • Optionaltimeout: number

      Returns Promise<undefined | string>

      A promise that resolves with the first successful response or undefined if all attempts fail.

      5.4.0

      2024-05-24