Liking cljdoc? Tell your friends :D

deercreeklabs.capsule.client


CapsuleClientclj/s


clientclj/s≠

clj
(client get-url get-credentials protocol role)
(client get-url get-credentials protocol role options)
cljs
(client G__35075 G__35076 G__35077 G__35078)
(client G__35082 G__35083 G__35084 G__35085 G__35086)

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)
raw docstring

conn-wait-ms-multiplierclj/s


default-client-optionsclj/s


ICapsuleClientclj/sprotocol

<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)

set-handlerclj/s

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

shutdownclj/s

(shutdown this)

ICapsuleClientInternalsclj/sprotocol

<do-schema-negotiation*clj/s

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

start-connect-loop*clj/s

(start-connect-loop* this <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 failure-cb 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 <ws-client)

initial-conn-wait-msclj/s


max-conn-wait-msclj/s

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

× close