Liking cljdoc? Tell your friends :D

hive-artcraft.transport.control-file

JVM client for a :control-file-shaped app (PdfCraft --control <FILE>). The app listens on a RANDOM loopback port and writes {port, token} to a user-owned file. Each request reads that file again, connects, sends the token first (JSON-RPC auth), then one ui.* request. The token is held in a Redacted box that prints as <redacted>; no error, log line or return value of this namespace ever carries its value (memory axiom 20260504113116-48076a09).

JVM client for a :control-file-shaped app (PdfCraft `--control <FILE>`). The app listens on a
RANDOM loopback port and writes {port, token} to a user-owned file. Each request reads that
file again, connects, sends the token first (JSON-RPC `auth`), then one ui.* request.
The token is held in a Redacted box that prints as <redacted>; no error, log line or return
value of this namespace ever carries its value (memory axiom 20260504113116-48076a09).
raw docstring

hive-artcraft.transport.socket

JVM loopback client for a :port-shaped app's --control channel: one JSON line out, one back. An app whose port authenticates every request (FilmCraft) gets :token-ref in the config: the token is read from it per request, sent as a top-level "token" field, and never logged, returned or put in an error (memory axiom 20260504113116-48076a09). Without :token-ref the request goes out exactly as built.

JVM loopback client for a :port-shaped app's --control channel: one JSON line out, one back.
An app whose port authenticates every request (FilmCraft) gets :token-ref in the config: the
token is read from it per request, sent as a top-level "token" field, and never logged,
returned or put in an error (memory axiom 20260504113116-48076a09). Without :token-ref the
request goes out exactly as built.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close