Jetty9 impl of the Websockets API + handler.
Dervied from:
Jetty9 impl of the Websockets API + handler. Dervied from: * https://github.com/sunng87/ring-jetty9-adapter/blob/master/src/ring/adapter/jetty9/websocket.clj
(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-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-creator handler)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close