MCPcopy Create free account
hub / github.com/TanStack/db / headers

Function headers

examples/react/projects/src/lib/trpc-client.ts:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 httpBatchLink({
7 url: '/api/trpc',
8 async headers() {
9 return {
10 cookie: typeof document !== 'undefined' ? document.cookie : '',
11 }
12 },
13 }),
14 ],
15})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected