Liking cljdoc? Tell your friends :D

websocket-layer.network


*decoder*clj

source

*encoder*clj

source

*exception-handler*clj

source

on-bytesclj

(on-bytes ws bites offset len)
source

on-closeclj

(on-close _ _ _)
source

on-commandclj

(on-command _ command)
source

on-connectclj

(on-connect ws)
source

on-errorclj

(on-error _ e)
source

on-textclj

(on-text ws message)
source

quietlycljmacro

(quietly & body)

Execute the body and return nil if there was an error

Execute the body and return nil if there was an error
sourceraw docstring

send-message!clj

(send-message! ws data)
source

websocket-handlerclj

(websocket-handler
  {:keys [exception-handler encoding encoder decoder middleware]
   :or {encoding :edn
        middleware []
        exception-handler (fn [exception]
                              (when exception (.printStackTrace exception)))}})
source

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

× close