Skip to content

resolveBatchEventUrl

resolveBatchEventUrl(batchEventUrl): string

Defined in: packages/client/src/event-lane.ts:281

Resolve the ingestion endpoint under the same HARD-REQUIRED-PATH rule the mutation client applies to batchWriteUrl: a relative URL must BE the canonical path, an absolute one must end in it, and neither may carry a query or fragment. The endpoint is toolkit-owned (createSyncServer mounts it), so a URL that cannot be it is a configuration error worth failing on at boot rather than at the first append.

string

string