(connect-websocket websocket-uri)
Initialize js/WebSocket object
Initialize js/WebSocket object
(form-ws-url)
Form ws or wss url from baseURI
Form ws or wss url from baseURI
(websocket websocket-uri
{onopen-fn :onopen-fn
onmessage-fn :onmessage-fn
onerror-fn :onerror-fn
onclose-fn :onclose-fn
is-logging-on :is-logging-on})
Connect to server via websocket and register onopen, onmessage, onerror and onclose events with functions
Connect to server via websocket and register onopen, onmessage, onerror and onclose events with functions
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close