Liking cljdoc? Tell your friends :D

deercreeklabs.capsule.client


CapsuleClientcljs

source

conn-wait-ms-multiplierclj/s

source

default-client-optionsclj/s

source

ICapsuleClientclj/s≠protocol

shutdownclj/s

(shutdown this)

set-handlerclj/s

(set-handler this msg-name-kw handler)

<send-msgclj/s

(<send-msg this msg-name-kw arg)
(<send-msg this msg-name-kw arg timeout-ms)

send-msgclj/s

(send-msg this msg-name-kw arg)
(send-msg this msg-name-kw arg timeout-ms)
(send-msg this msg-name-kw arg success-cb failure-cb)
(send-msg this msg-name-kw arg success-cb failure-cb timeout-ms)
source

ICapsuleClientInternalsclj/s≠protocol

<do-schema-negotiation*clj/s

(<do-schema-negotiation* this tube-client rcv-chan url)

start-connect-loop*clj/s

(start-connect-loop* this <make-ws-client)

start-rcv-loop*clj/s

(start-rcv-loop* this)

<do-auth-w-creds*clj/s

(<do-auth-w-creds* this tube-client rcv-chan credentials)

<do-auth*clj/s

(<do-auth* this tube-client rcv-chan)

send-msg*clj/s

(send-msg* this msg-name-kw msg timeout-ms)

send-rpc*clj/s

(send-rpc* this msg-name-kw arg success-cb failure-cb timeout-ms)

<get-credentials*clj/s

(<get-credentials* this)

start-gc-loop*clj/s

(start-gc-loop* this)

start-send-loop*clj/s

(start-send-loop* this)

<do-login*clj/s

(<do-login* this tube-client rcv-chan credentials)

<get-url*clj/s

(<get-url* this)

<get-credentials-and-do-auth*clj/s

(<get-credentials-and-do-auth* this tube-client rcv-chan)

<connect*clj/s

(<connect* this <make-ws-client)
source

initial-conn-wait-msclj/s

source

make-clientclj/s≠

clj
(make-client get-url get-credentials protocol role)
(make-client get-url get-credentials protocol role options)
cljs
(make-client G__3868 G__3869 G__3870 G__3871)
(make-client G__3875 G__3876 G__3877 G__3878 G__3879)

Inputs: ([get-url :- u/GetURLFn get-credentials :- u/GetCredentialsFn protocol :- u/Protocol role :- u/Role] [get-url :- u/GetURLFn get-credentials :- u/GetCredentialsFn protocol :- u/Protocol role :- u/Role options :- u/ClientOptions]) Returns: (s/protocol ICapsuleClient)

Inputs: ([get-url :- u/GetURLFn get-credentials :- u/GetCredentialsFn protocol :- u/Protocol role :- u/Role] [get-url :- u/GetURLFn get-credentials :- u/GetCredentialsFn protocol :- u/Protocol role :- u/Role options :- u/ClientOptions])
Returns: (s/protocol ICapsuleClient)
sourceraw docstring

max-conn-wait-msclj/s

source

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

× close