For coping with incoming HELLO packets
For coping with incoming HELLO packets
(do-handle {:keys [:frereth.weald.specs/logger]
log-state :frereth.weald.specs/state
:as state}
cookie-response-builder
{:keys [:message] :as packet})
(internal-handler {log-state :frereth.weald.specs/state :as state} message)
FIXME: Needs a better name
FIXME: Needs a better name
(open-hello-crypto-box {:keys [:frereth.cp.server.hello/client-short-pk
:frereth.cp.server.state/cookie-cutter]
nonce-suffix :frereth.cp.server.hello/nonce-suffix
{long-keys :frereth.cp.shared/long-pair :as my-keys}
:frereth.cp.shared/my-keys
log-state :frereth.weald.specs/state
:as state}
message
crypto-box)
(open-packet {:keys [:frereth.cp.server.state/current-client]
log-state :frereth.weald.specs/state
:as state}
message)
Milliseconds to wait for putting packets onto network queue
Milliseconds to wait for putting packets onto network queue
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close