Liking cljdoc? Tell your friends :D

deercreeklabs.tube.client


<connectclj/s

(<connect wsc url options *handle-rcv *close-client connected-ch)
source

<make-tube-clientclj/s≠

clj
(<make-tube-client url connect-timeout-ms)
(<make-tube-client url connect-timeout-ms options)
cljs
(<make-tube-client G__2593 G__2594)
(<make-tube-client G__2598 G__2599 G__2600)

Inputs: ([url :- s/Str connect-timeout-ms :- s/Int] [url :- s/Str connect-timeout-ms :- s/Int options :- {(s/optional-key :compression-type) (s/enum :none :smart :deflate), (s/optional-key :keep-alive-secs) s/Int, (s/optional-key :on-disconnect) (s/=> s/Any), (s/optional-key :on-rcv) (s/=> s/Any), (s/optional-key :log-conn-failure?) s/Bool, (s/optional-key :connect-timeout-ms) s/Int, (s/optional-key :<make-ws-client) (s/=> s/Any)}])

Inputs: ([url :- s/Str connect-timeout-ms :- s/Int] [url :- s/Str connect-timeout-ms :- s/Int options :- {(s/optional-key :compression-type) (s/enum :none :smart :deflate), (s/optional-key :keep-alive-secs) s/Int, (s/optional-key :on-disconnect) (s/=> s/Any), (s/optional-key :on-rcv) (s/=> s/Any), (s/optional-key :log-conn-failure?) s/Bool, (s/optional-key :connect-timeout-ms) s/Int, (s/optional-key :<make-ws-client) (s/=> s/Any)}])
sourceraw docstring

<make-ws-client*clj/s

(<make-ws-client* & args)
source

<make-ws-client-browsercljs

(<make-ws-client-browser url
                         connected-ch
                         on-error
                         *handle-rcv
                         *close-client
                         log-conn-failure?)
source

<make-ws-client-cljclj

(<make-ws-client-clj url
                     connected-ch
                     on-error
                     *handle-rcv
                     *close-client
                     log-conn-failure?)
source

<make-ws-client-nodecljs

(<make-ws-client-node url
                      connected-ch
                      on-error
                      *handle-rcv
                      *close-client
                      log-conn-failure?)
source

default-keepalive-secsclj/s

source

ITubeClientclj/s≠protocol

closeclj/s

(close this)
(close this code reason)

Close this tube

Close this tube

sendclj/s

(send this data)

Send binary bytes over this tube

Send binary bytes over this tube
source

start-keep-alive-loopclj/s

(start-keep-alive-loop conn keep-alive-secs *shutdown?)
source

TubeClientcljs

source

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

× close