matchSyncRequest
matchSyncRequest(
request): {payload?:Json;storeId:string;transport:"http"|"ws"; } |undefined
Defined in: packages/@livestore/sync-cf/src/cf-worker/shared.ts:147
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.
Parameters
Section titled “Parameters”request
Section titled “request”Returns
Section titled “Returns”{ payload?: Json; storeId: string; transport: "http" | "ws"; } | undefined