Liking cljdoc? Tell your friends :D

deercreeklabs.capsule.endpoint


ConnInfocljs

source

default-endpoint-optionsclj/s

source

Endpointcljs

source

IEndpointclj/s≠protocol

close-connclj/s

(close-conn this conn-id)

send-msg-to-all-connsclj/s

(send-msg-to-all-conns this msg-name-kw arg)

shutdownclj/s

(shutdown this)

on-connectclj/s

(on-connect this tube-conn)

set-handlerclj/s

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

on-rcvclj/s

(on-rcv this tube-conn data)

get-pathclj/s

(get-path this)

send-msg-to-subject-connsclj/s

(send-msg-to-subject-conns this subject-id msg-name-kw arg)

get-subject-conn-idsclj/s

(get-subject-conn-ids this subject-id)

close-subject-connsclj/s

(close-subject-conns this subject-id)

get-all-conn-idsclj/s

(get-all-conn-ids this subject-id)

get-conn-countclj/s

(get-conn-count this)

<send-msgclj/s

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

get-subject-conn-countclj/s

(get-subject-conn-count this subject-id)

send-msgclj/s

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

IEndpointInternalsclj/s≠protocol

<handle-login-req*clj/s

(<handle-login-req* this msg metadata)

do-schema-negotiation*clj/s

(do-schema-negotiation* this conn-id tube-conn data)

on-disconnect*clj/s

(on-disconnect* this conn-id remote-addr tube-conn code reason)

send-msg*clj/s

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

send-rpc*clj/s

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

start-gc-loop*clj/s

(start-gc-loop* this)
source

make-endpointclj/s≠

clj
(make-endpoint path authenticator protocol role)
(make-endpoint path authenticator protocol role options)
cljs
(make-endpoint G__2444 G__2445 G__2446 G__2447)
(make-endpoint G__2451 G__2452 G__2453 G__2454 G__2455)

Inputs: ([path :- s/Str authenticator :- u/Authenticator protocol :- u/Protocol role :- u/Role] [path :- s/Str authenticator :- u/Authenticator protocol :- u/Protocol role :- u/Role options :- u/EndpointOptions]) Returns: (s/protocol IEndpoint)

Inputs: ([path :- s/Str authenticator :- u/Authenticator protocol :- u/Protocol role :- u/Role] [path :- s/Str authenticator :- u/Authenticator protocol :- u/Protocol role :- u/Role options :- u/EndpointOptions])
Returns: (s/protocol IEndpoint)
sourceraw docstring

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

× close