A simple adapter interface that allows you to define a custom http client that astra-db-ts may use to make requests.

See FetchH2 and FetchNative for example implementations.

interface Fetcher {
    close?(): Promise<void>;
    fetch(info): Promise<FetcherResponseInfo>;
}

Implemented by

Methods

Methods