(<send-msg! client msg-type-name arg)
(<send-msg! client msg-type-name arg timeout-ms)
(add-reconnect-options config)
(check-get-url get-url)
(client config*)
(connect! {:keys [*conn-info *reconnect-wait-ms *rpc-id->info
disconnect-notify-ch get-url min-reconnect-wait-ms on-connect
on-disconnect]
:as arg})
(fail-rpcs! {:keys [*rpc-id->info reason]})
(send-packet!* send-ch *conn-info packet)
(start-connect-loop! {:keys [*reconnect-wait-ms *stop? disconnect-notify-ch
max-reconnect-wait-ms
reconnect-wait-ms-backoff-factor]
:as arg})
(start-gc-loop! {:keys [*stop?] :as arg})
(start-send-loop! {:keys [*stop? *ws-connected? send-ch stop-sending-ch ws]})
(stop! client)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close