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.
Loopback host and per-request connect and read bounds; :port comes from the app module.
Loopback host and per-request connect and read bounds; :port comes from the app module.
(read-token token-ref getenv)Resolve a TokenRef at send time with the injected getenv: {:ok Redacted} holding a token of
64 hex characters (the craft control protocol's form), or a refusal naming the source and the
fix. No hint ever carries the value.
Resolve a TokenRef at send time with the injected `getenv`: {:ok Redacted} holding a token of
64 hex characters (the craft control protocol's form), or a refusal naming the source and the
fix. No hint ever carries the value.(socket-transport config)Build a transport for an app listening on --control <port>; config overrides default-config.
Build a transport for an app listening on --control <port>; config overrides default-config.
How to keep a control-token file trustworthy.
How to keep a control-token file trustworthy.
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 |