Liking cljdoc? Tell your friends :D

forever-socket-client.core


bytes-to-strclj

(bytes-to-str data)

Convert bytes to str

Convert bytes to str
sourceraw docstring

setup-read-callbackclj

(setup-read-callback sock data-recv-cb)

Run a supplied callback with received data

Run a supplied callback with received data
sourceraw docstring

socketclj

(socket host port)
(socket host port read-buffer-size retry-interval)

Instantiate a socket with watcher which will attempt to reconnect

Instantiate a socket with watcher which will attempt to reconnect
sourceraw docstring

socket-db-factoryclj

(socket-db-factory sock buffer-size close-notify-fn stop-notify-fn)
source

socket-factoryclj

(socket-factory host)
(socket-factory host port)

Instantiate a java socket with SO_KEEPALIVE

Instantiate a java socket with SO_KEEPALIVE
sourceraw docstring

socket-watcherclj

(socket-watcher retry-interval buffer-size sock)

Watch for socket close event and attempt to reconnect

Watch for socket close event and attempt to reconnect
sourceraw docstring

socket-writeclj

(socket-write output-stream)

Closure for simpler write to socket

Closure for simpler write to socket
sourceraw docstring

start-socket-read!clj

(start-socket-read! input-stream buffer-size close-notify)

Setup a receive channel and shuffle data to it on receive

Setup a receive channel and shuffle data to it on receive
sourceraw docstring

str-to-bytesclj

(str-to-bytes input)

Convert str to bytes

Convert str to bytes
sourceraw docstring

write-to-socketclj

(write-to-socket sock data)

Write bytes to a socket

Write bytes to a socket
sourceraw docstring

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

× close