Liking cljdoc? Tell your friends :D

slipway.jetty9.websockets

Jetty9 impl of the Websockets API + handler.

Dervied from:
  * https://github.com/sunng87/ring-jetty9-adapter/blob/master/src/ring/adapter/jetty9/websocket.clj
raw docstring

proxy-ws-adapterclj

(proxy-ws-adapter {:keys [on-connect on-error on-text on-close on-bytes]
                   :or {on-connect no-op
                        on-error no-op
                        on-text no-op
                        on-close no-op
                        on-bytes no-op}})

proxy-ws-handlerclj

(proxy-ws-handler handler
                  {:keys [ws-max-idle-time ws-max-text-message-size]
                   :or {ws-max-idle-time 500000
                        ws-max-text-message-size 65536}})

reify-ws-creatorclj

(reify-ws-creator handler)

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

× close