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})

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
raw docstring

child-exited!clj

(child-exited! this)

ctorclj

(ctor opts logger-initializer)

heartbeat-intervalclj


hide-long-arraysclj

(hide-long-arrays this)

Make pretty printing a little less verbose

Make pretty printing a little less verbose
raw 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
raw 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
raw 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})

unexpectedly-terminated-successfullyclj

(unexpectedly-terminated-successfully result unexpected)

unexpectedly-terminated-unsuccessfullyclj

(unexpectedly-terminated-unsuccessfully result outcome)

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

× close