Pure PhotoCraft command and control-channel vocabulary. Receives catalog values; does not read files, open sockets or depend on a host runtime.
Pure PhotoCraft command and control-channel vocabulary. Receives catalog values; does not read files, open sockets or depend on a host runtime.
(auth token)Build the first control-channel request. Never log or persist the token.
Build the first control-channel request. Never log or persist the token.
(command catalog id)Find a command id in an extracted catalog value. Unknown ids refuse.
Find a command id in an extracted catalog value. Unknown ids refuse.
(execute catalog id command-id params)Validate and build an engine.execute request. Parameter documentation is descriptive rather than a machine schema; the engine enforces each command's detailed numeric ranges. Never silently coerce an unknown command.
Validate and build an engine.execute request. Parameter documentation is descriptive rather than a machine schema; the engine enforces each command's detailed numeric ranges. Never silently coerce an unknown command.
(frame request-value)Encode a validated request map as exactly one JSON line.
Encode a validated request map as exactly one JSON line.
(method catalog id)Find a control method declared by the extracted protocol inventory.
Find a control method declared by the extracted protocol inventory.
(refuse kind hint)A portable actionable refusal.
A portable actionable refusal.
(reply line)Decode one JSON-line response, retaining its wire keys.
Decode one JSON-line response, retaining its wire keys.
(request catalog id method-id params)Build a control-channel request. Connection must authenticate separately first.
Build a control-channel request. Connection must authenticate separately first.
(token-valid? token)True for exactly 64 ASCII hexadecimal characters (256 bits).
True for exactly 64 ASCII hexadecimal characters (256 bits).
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 |