Liking cljdoc? Tell your friends :D

via.endpoint


broadcast!clj

(broadcast! endpoint message)

Asynchronously sends message to all connected clients

Asynchronously sends `message` to all connected clients
sourceraw docstring

connect!cljs

(connect! endpoint)
(connect! endpoint
          {:keys [params auto-reconnect max-reconnect-interval protocols
                  binary-type]})
source

connected?cljs

(connected? endpoint)
source

connection-contextclj

(connection-context endpoint client-id)
source

disconnect!clj/s≠

clj
(disconnect! endpoint & {:keys [client-id tag]})
cljs
(disconnect! endpoint)
source (clj)source (cljs)

disposeclj/s

(dispose endpoint key)
source (clj)source (cljs)

handle-effectcljmultimethod

source

merge-connection-context!clj

(merge-connection-context! endpoint client-id connection-context)
source

replace-connection-context!clj

(replace-connection-context! endpoint client-id connection-context)
source

send!clj/s≠

clj
(send! endpoint
       message
       &
       {:keys [type client-id tag params] :or {type :message}})

Asynchronously sends message to the client for client-id

Asynchronously sends `message` to the client for `client-id`
cljs
(send! endpoint
       message
       &
       {:keys [type success-fn failure-fn timeout timeout-fn]
        :or {type :message}
        :as options})
source (clj)source (cljs)raw docstring

subscribeclj/s

(subscribe endpoint callbacks)
source (clj)source (cljs)

validatecljmacro

(validate schema value message)
source

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

× close