Skip to content

HttpClientConfig

API reference for HttpClientConfig

@delta-base/server


optional apiKey: string


baseUrl: string


optional fetch: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Custom fetch function to use for HTTP requests. Useful for service bindings in Cloudflare Workers. When provided, this will be used instead of the global fetch.

(input, init?): Promise<Response>

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | URL | Request

RequestInit

Promise<Response>


optional headers: Record<string, string>