Liking cljdoc? Tell your friends :D

skeptic.worker.transport

Length-prefixed Transit+msgpack transport for Skeptic's private nREPL worker link. The Transport protocol is implemented in the peer namespace skeptic.worker.transport-impl, which is required lazily on first transit call so neither nrepl.transport nor the deftype's Protocol symbol resolves at this namespace's load time.

Length-prefixed Transit+msgpack transport for Skeptic's private nREPL
worker link. The Transport protocol is implemented in the peer namespace
`skeptic.worker.transport-impl`, which is required lazily on first
`transit` call so neither nrepl.transport nor the deftype's Protocol
symbol resolves at this namespace's load time.
raw docstring

read-messageclj

(read-message in)
source

read-message-with-timeoutclj

(read-message-with-timeout socket in timeout)

nREPL's recv-with-timeout contract returns nil on timeout, but nil is also the EOF signal that ends nREPL's handle loop and closes the connection — a slow peer must stay distinguishable from a closed one, so the SocketTimeoutException propagates instead.

nREPL's recv-with-timeout contract returns nil on timeout, but nil is
also the EOF signal that ends nREPL's handle loop and closes the
connection — a slow peer must stay distinguishable from a closed one,
so the SocketTimeoutException propagates instead.
sourceraw docstring

transitclj

(transit socket)

nREPL transport-fn using Transit+msgpack payloads framed by a 4-byte length prefix. The Transport protocol implementation lives in skeptic.worker.transport-impl, lazy-required on first call so this namespace can be loaded before nrepl.transport is on the classpath.

nREPL transport-fn using Transit+msgpack payloads framed by a 4-byte
length prefix. The Transport protocol implementation lives in
`skeptic.worker.transport-impl`, lazy-required on first call so this
namespace can be loaded before nrepl.transport is on the classpath.
sourceraw docstring

write-messageclj

(write-message out msg)
source

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