Interface: ConciergeRequest
Interface: ConciergeRequest in @ticketlayer/live.
@ticketlayer/live / index / ConciergeRequest
Defined in: core/concierge.ts:20
The Concierge transport: how tl-concierge reaches Live's /v1/concierge/*
routes through this client.
Elements never import this package and never fetch on their own (AGENTS.md);
they are handed a transport by the connector (getConciergeManager() in
../elements.ts) and every decision about what to send is theirs
(@ticketlayer/elements-core, src/concierge/). What is here is only the
part that has to know where Live is and how this page's session travels:
the base URL, the publishable key, the X-Live-Session header (embeds) or
the cookie (a hosted storefront), TL-Version and TL-Client - the same
headers the generated client sends.
It refuses any path outside /v1/concierge/, so the transport handed to an
element cannot be pointed at the rest of Live, and it reads a turn's
server-sent events as text chunks whose iterator cancels the response when
the element stops reading.
Properties#
body?#
optional body?: unknown;Defined in: core/concierge.ts:25
method#
method: "POST" | "GET";Defined in: core/concierge.ts:21
path#
path: string;Defined in: core/concierge.ts:23
Under /v1/concierge/.
query?#
optional query?: Record<string, string>;Defined in: core/concierge.ts:24
stream?#
optional stream?: boolean;Defined in: core/concierge.ts:27
Answer with stream (decoded text chunks) rather than parsed JSON.