Skip to content

ForwardHeadersOption

ForwardHeadersOption = readonly string[] | (request) => Record<string, string>

Defined in: packages/@livestore/sync-cf/src/cf-worker/shared.ts:18

Configuration for forwarding request headers to DO callbacks.

  • string[]: List of header names to forward (case-insensitive)
  • (request) => Record<string, string>: Custom extraction function (sync)