Liking cljdoc? Tell your friends :D

frereth.cp.client

Implement the client half of the CurveCP protocol.

It seems like it would be nice if I could just declare the message exchange, but that approach gets complicated on the server side. At least half the point there is reducing DoS.

Implement the client half of the CurveCP protocol.

It seems like it would be nice if I could just declare
the message exchange, but that approach gets complicated
on the server side. At least half the point there is
reducing DoS.
raw docstring

chan->server-closedclj

(chan->server-closed
  {:keys [:frereth.weald.specs/logger :frereth.weald.specs/state] :as this})
source

child->serverclj

(child->server this msg)

Child sent us a signal to add bytes to the stream to the server

Child sent us a signal to add bytes to the stream to the server
sourceraw docstring

child-exited!clj

(child-exited! this)
source

ctorclj

(ctor opts logger-initializer)
source

heartbeat-intervalclj

source

hide-long-arraysclj

(hide-long-arrays this)

Make pretty printing a little less verbose

Make pretty printing a little less verbose
sourceraw docstring

server->childclj

(server->child this msg)

Received bytes from the server that need to be streamed back to child

Received bytes from the server that need to be streamed back to child
sourceraw docstring

start!clj

(start! {:keys [:frereth.weald.specs/logger
                :frereth.cp.client.state/chan->server]
         log-state :frereth.weald.specs/state
         :as this})

Perform the side-effects to establish a connection with a server

Perform the side-effects to establish a connection with a server
sourceraw docstring

stop!clj

(stop! {log-state :frereth.weald.specs/state
        :keys [:frereth.weald.specs/logger
               :frereth.cp.client.state/chan->server]
        :or {log-state (log/init :frereth.cp.client/stop!-missing-logs)
             logger (log/std-out-log-factory)}
        :as this})
source

unexpectedly-terminated-successfullyclj

(unexpectedly-terminated-successfully result unexpected)
source

unexpectedly-terminated-unsuccessfullyclj

(unexpectedly-terminated-unsuccessfully result outcome)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close