Liking cljdoc? Tell your friends :D

lambdaisland.funnel-client


client-idcljs

source

connectclj/s≠

clj
(connect {:keys [uri on-open on-message on-error on-close whoami]
          :or {uri (funnel-uri)
               on-open noop
               on-message noop
               on-error noop
               on-close noop
               whoami whoami}
          :as opts})
cljs
(connect
  {:keys [uri on-open on-message on-error on-close transit-reader transit-writer
          whoami]
   :or {uri (funnel-uri)
        on-open noop
        on-message noop
        on-error noop
        on-close noop
        transit-reader (transit/reader :json
                                       {:handlers (clojure.core/deref
                                                    transit-read-handlers)})
        transit-writer (transit/writer :json
                                       {:handlers (clojure.core/deref
                                                    transit-write-handlers)})
        whoami whoami}
   :as opts})
source (clj)source (cljs)

disconnect!clj/s≠

clj
(disconnect! conn)
cljs
(disconnect! socket)
source (clj)source (cljs)

from-transitclj

(from-transit transit)
source

funnel-uriclj/s

(funnel-uri)
source (clj)source (cljs)

FUNNEL_URIcljs

source

platform-typecljs

source

sendclj

(send ws-client msg)
source

Socketcljsprotocol

sendcljs

(send socket message)
source

to-transitclj

(to-transit value)
source

transit-read-handlersclj/s

source (clj)source (cljs)

transit-write-handlersclj/s

source (clj)source (cljs)

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

× close