mise API - v0.0.0
    Preparing search index...

    Function url_probe

    • Asks the network about a URL once: the error code a plain GET meets, or null when anything answered (the host is there and its certificate holds).

      Parameters

      • url: string

        The URL.

      • timeoutMs: number = 8000

        How long to wait.

      Returns Promise<string | null>

      The code, or null.