Skip to content

matchSyncRequest

matchSyncRequest(request): undefined | { payload: undefined | JsonValue; storeId: string; transport: "http" | "ws"; }

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

Extracts the LiveStore sync search parameters from a request. Returns undefined when the request does not carry valid sync metadata so callers can fall back to custom routing.

Request

undefined | { payload: undefined | JsonValue; storeId: string; transport: "http" | "ws"; }