Gateway declarations loaded from the validated JSON contract.
Gateway declarations loaded from the validated JSON contract.
Remote lease lifetime and keepalive policy.
Remote lease lifetime and keepalive policy.
Canonical gateway envelope declarations.
Canonical gateway envelope declarations.
(error-body type message extra)Build the canonical JSON error body; caller extras retain their existing override semantics.
Build the canonical JSON error body; caller extras retain their existing override semantics.
Semantic error body key to canonical wire spelling.
Semantic error body key to canonical wire spelling.
Shared JSON error response declaration.
Shared JSON error response declaration.
Semantic error detail key to canonical wire spelling.
Semantic error detail key to canonical wire spelling.
All event names on session, dedicated-job and relay-push streams.
All event names on session, dedicated-job and relay-push streams.
(handshake {:keys [version build]})Build the engine handshake from contract protocol numbers and runtime release identity.
Build the engine handshake from contract protocol numbers and runtime release identity.
Gateway identity handshake declaration.
Gateway identity handshake declaration.
Semantic handshake key to canonical wire spelling.
Semantic handshake key to canonical wire spelling.
(header k)Canonical lower-case spelling for semantic header k, or nil.
Canonical lower-case spelling for semantic header `k`, or nil.
Semantic header key to canonical lower-case spelling.
Semantic header key to canonical lower-case spelling.
All dedicated job-stream event names.
All dedicated job-stream event names.
Directional event names carried by dedicated speech job streams.
Directional event names carried by dedicated speech job streams.
Private cross-process journal metadata declaration.
Private cross-process journal metadata declaration.
Semantic journal metadata key to canonical wire spelling.
Semantic journal metadata key to canonical wire spelling.
Oldest client protocol served by this gateway contract.
Oldest client protocol served by this gateway contract.
Oldest gateway protocol accepted by this client contract.
Oldest gateway protocol accepted by this client contract.
(operation method path)Request/response transport declaration for built-in method and path, or nil.
Request/response transport declaration for built-in `method` and `path`, or nil.
Canonical gateway compatibility numbers.
Canonical gateway compatibility numbers.
Wire protocol spoken by this contract.
Wire protocol spoken by this contract.
Event names used by relay push payloads.
Event names used by relay push payloads.
Queue lifecycle events mirrored by attached channels.
Queue lifecycle events mirrored by attached channels.
Cursor and generation anchors for session replay.
Cursor and generation anchors for session replay.
(route-methods)Exact built-in [method path] pairs declared by the contract.
Exact built-in `[method path]` pairs declared by the contract.
Complete [method path] to request/response transport declaration.
Complete `[method path]` to request/response transport declaration.
Complete built-in gateway route table, one record per path.
Complete built-in gateway route table, one record per path.
Stamped session stream event declaration.
Stamped session stream event declaration.
Semantic session stamp key to canonical wire spelling.
Semantic session stamp key to canonical wire spelling.
Schema number stamped onto every session event.
Schema number stamped onto every session event.
(session-event-type? event-type)True when event-type belongs to the closed session-stream vocabulary.
True when `event-type` belongs to the closed session-stream vocabulary.
Closed built-in vocabulary carried by the session journal and multiplexed session SSE stream.
Closed built-in vocabulary carried by the session journal and multiplexed session SSE stream.
Speech synthesis job stream event name.
Speech synthesis job stream event name.
(stamp-journal-line event producer pid store?)Add private producer metadata to one already-stamped session event.
Add private producer metadata to one already-stamped session event.
(stamp-session-event payload session-id sequence timestamp type)Apply the contract-owned identity stamp after payload, so payload keys cannot spoof it.
Apply the contract-owned identity stamp after `payload`, so payload keys cannot spoof it.
(strip-journal-metadata event)Remove private journal metadata before an event reaches a session consumer.
Remove private journal metadata before an event reaches a session consumer.
First-frame session subscription declaration.
First-frame session subscription declaration.
(subscription-ready-event {:keys [session-id cursor current-turn-id is-live
server-time-ms latest-iteration]})Build the canonical first frame for one session subscription.
Build the canonical first frame for one session subscription.
Wire keys copied from a settled turn row into blocking submit/attach results.
Wire keys copied from a settled turn row into blocking submit/attach results.
Every built-in event type that ends a turn.
Every built-in event type that ends a turn.
(verdict {:keys [gateway-protocol gateway-min-client gateway-version
client-protocol client-min-gateway client-version
client-name]})Pure compatibility verdict between a gateway and a client.
Reasons are ok, client-too-old, gateway-too-old, or unknown when a peer
did not advertise a protocol. :upgrade names the half that must be updated.
Pure compatibility verdict between a gateway and a client. Reasons are `ok`, `client-too-old`, `gateway-too-old`, or `unknown` when a peer did not advertise a protocol. `:upgrade` names the half that must be updated.
Session event that ends either View kind.
Session event that ends either View kind.
Open, patch and close event names for both View kinds.
Open, patch and close event names for both View kinds.
Session event that mounts either View kind.
Session event that mounts either View kind.
Session event carrying accepted View operations.
Session event carrying accepted View operations.
Transcription job stream event name.
Transcription job stream event name.
(wire->handshake m)Read a peer's advertised handshake from its canonical string-keyed wire map.
Missing fields remain nil so verdict rejects an unversioned peer explicitly.
Read a peer's advertised handshake from its canonical string-keyed wire map. Missing fields remain nil so [[verdict]] rejects an unversioned peer explicitly.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |