Liking cljdoc? Tell your friends :D

clojure.tools.nrepl.transport


bencodeclj

(bencode s)
(bencode in out & [s])

Returns a Transport implementation that serializes messages over the given Socket or InputStream/OutputStream using bencode.

Returns a Transport implementation that serializes messages
over the given Socket or InputStream/OutputStream using bencode.
sourceraw docstring

fn-transportclj

(fn-transport read write)
(fn-transport read write close)

Returns a Transport implementation that delegates its functionality to the 2 or 3 functions provided.

Returns a Transport implementation that delegates its functionality
to the 2 or 3 functions provided.
sourceraw docstring

piped-transportsclj

(piped-transports)

Returns a pair of Transports that read from and write to each other.

Returns a pair of Transports that read from and write to each other.
sourceraw docstring

Transportcljprotocol

Defines the interface for a wire protocol implementation for use with nREPL.

Defines the interface for a wire protocol implementation for use
with nREPL.

recvclj

(recv this)
(recv this timeout)

Reads and returns the next message received. Will block. Should return nil the a message is not available after timeout ms or if the underlying channel has been closed.

Reads and returns the next message received.  Will block.
Should return nil the a message is not available after `timeout`
ms or if the underlying channel has been closed.

sendclj

(send this msg)

Sends msg. Implementations should return the transport.

Sends msg. Implementations should return the transport.
sourceraw docstring

ttyclj

(tty s)
(tty in out & [s])

Returns a Transport implementation suitable for serving an nREPL backend via simple in/out readers, as with a tty or telnet connection.

Returns a Transport implementation suitable for serving an nREPL backend
via simple in/out readers, as with a tty or telnet connection.
sourceraw docstring

tty-greetingclj

(tty-greeting transport)

A greeting fn usable with clojure.tools.nrepl.server/start-server, meant to be used in conjunction with Transports returned by the tty function.

Usually, Clojure-aware client-side tooling would provide this upon connecting to the server, but telnet et al. isn't that.

A greeting fn usable with clojure.tools.nrepl.server/start-server,
meant to be used in conjunction with Transports returned by the
`tty` function.

Usually, Clojure-aware client-side tooling would provide this upon connecting
to the server, but telnet et al. isn't that.
sourceraw docstring

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

× close