Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/vanhecke/celmex is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with the same repo name found; no cached copy. Use another version.
Opaque request descriptor. Each Cortex.Api.* module builds a
Request a describing the endpoint to hit and how to decode its response;
Cortex.Client.send is what actually dispatches it.
Only GET and POST are provided — the Cortex Advanced API does not use
PUT, PATCH, or DELETE, so adding those verbs would be dead code.
Build a GET request from a path (as a list of segments) and a response decoder.
Build a POST request from a path, a JSON body, and a response decoder.
POST with the empty advanced-API envelope {"request_data": {}} as the
body. Used by endpoints that take no filters or paging arguments.
Transform the decoded response value. Useful for wrapping a typed result
into a different shape before it reaches your update.
Replace the response decoder entirely. Useful when a caller wants the
raw JSON (for logging, cache, or piping to another tool) instead of the
typed shape the endpoint module provides: Request.withDecoder Decode.value
req turns any Request a into a Request Value.
Extract the raw method/path/query/body/decoder record. Intended as an
escape hatch for Cortex.Client.toRequestRecord
and custom dispatchers; most consumers should not need this.
A pending HTTP request paired with its response decoder. Opaque so the wire format stays an implementation detail of the SDK.