LiveFetchOptions.headers
property · packages/remote/src/sse.ts:26
readonly headers?: (() => Readonly<Record<string, string>>) | undefinedRead per request, so a token that changes reaches the next call.
Remote / foldkit-remote/live
interface · packages/remote/src/sse.ts:24
interface LiveFetchOptions {
readonly headers?: (() => Readonly<Record<string, string>>) | undefined
readonly fetch?: typeof fetch | undefined
}What httpWithLive needs besides the URL. Mirrors http, plus the fetch itself.
LiveFetchOptions.headersproperty · packages/remote/src/sse.ts:26
readonly headers?: (() => Readonly<Record<string, string>>) | undefinedRead per request, so a token that changes reaches the next call.
LiveFetchOptions.fetchproperty · packages/remote/src/sse.ts:28
readonly fetch?: typeof fetch | undefinedDefaults to the global one; pass it to route calls elsewhere in tests.