Portable, app-parameterised control vocabulary for :port-shaped Crafting Apps: request values, JSON-lines frames and reply checks. No I/O, no host conditionals.
Portable, app-parameterised control vocabulary for :port-shaped Crafting Apps: request values, JSON-lines frames and reply checks. No I/O, no host conditionals.
(control-request catalog app method params request-id)Build a request for a catalogued control method of app (not an engine command).
Build a request for a catalogued control method of `app` (not an engine command).
(frame json-text)JSON-lines framing: accept exactly one single-line JSON object; the caller supplies the encoder.
JSON-lines framing: accept exactly one single-line JSON object; the caller supplies the encoder.
(lookup catalog app id)Find an engine command of app by exact id in the injected catalog, or refuse.
Find an engine command of `app` by exact id in the injected catalog, or refuse.
(refusal kind hint)A portable error value with an actionable next step.
A portable error value with an actionable next step.
(request catalog app id params request-id)Validate an engine command and build the unencoded engine.execute request.
Validate an engine command and build the unencoded engine.execute request.
(response-line app response)Check a decoded reply {ok, result|error} from app; preserves false and null results.
Check a decoded reply {ok, result|error} from `app`; preserves false and null results.
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 |