Liking cljdoc? Tell your friends :D

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

default-configclj

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.
sourceraw docstring

read-tokenclj

(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.
sourceraw docstring

socket-transportclj

(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.
sourceraw docstring

token-file-adviceclj

How to keep a control-token file trustworthy.

How to keep a control-token file trustworthy.
sourceraw 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