Interface CustomHttpClientOptions

Allows you to use a custom http client for making HTTP requests, rather than the default or fetch API.

Just requires the implementation of a simple adapter interface.

See the astra-db-ts README for more information on different clients.

https://github.com/datastax/astra-db-ts

interface CustomHttpClientOptions {
    client: "custom";
    fetcher: Fetcher;
}

Properties

Properties

client: "custom"

Use a custom http client for making HTTP requests.

fetcher: Fetcher

The custom "fetcher" to use.