thesportsdb-client
    Preparing search index...

    Interface Transport

    Performs GET requests. Implement it to use another HTTP stack or to fake the network in tests. Reject (throw) when no response arrives; resolve every HTTP status, including 4xx and 5xx.

    interface Transport {
        get(
            url: string,
            headers: Readonly<Record<string, string>>,
        ): Promise<HttpResponse>;
    }
    Index