(broadcast! endpoint message)Asynchronously sends message to all connected clients
Asynchronously sends `message` to all connected clients
(connect! endpoint)(connect! endpoint
{:keys [params auto-reconnect max-reconnect-interval protocols
binary-type]})(disconnect! endpoint & {:keys [client-id tag]})(disconnect! endpoint)(replace-connection-context! endpoint client-id connection-context)(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`
(send! endpoint
message
&
{:keys [type success-fn failure-fn timeout timeout-fn]
:or {type :message}
:as options})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |