Liking cljdoc? Tell your friends :D

kaocha.cljs.websocket

Cross-platform websocket wrapper, borrowed from Figwheel.

Relies on goog.net.WebSocket (https://google.github.io/closure-library/api/goog.net.WebSocket.html)

Cross-platform websocket wrapper, borrowed from Figwheel.

Relies on goog.net.WebSocket (https://google.github.io/closure-library/api/goog.net.WebSocket.html)
raw docstring

close!cljs

(close! ws)
source

connect!cljs

(connect! url handler-map)
(connect! url handler-map reconnect?)
source

ensure-websocketcljs

(ensure-websocket thunk)
source

event-typescljs

source

get-websocket-classcljs

(get-websocket-class)
source

host-envcljs

source

make-websocketcljs

(make-websocket)
(make-websocket reconnect?)
source

message-datacljs

(message-data event)
source

open!cljs

(open! ws url)
source

open!*cljs

(open!* ws url)
source

open?cljs

(open? ws)
source

register-handlerscljs

(register-handlers ws handler-map)
source

register-handlers*cljs

(register-handlers* ws handler-map)
source

send!cljs

(send! ws msg)
source

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

× close