Liking cljdoc? Tell your friends :D

slipway.jetty10.websockets


proxy-ws-adapterclj

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

reify-ws-creatorclj

(reify-ws-creator ws-fns)

upgrade-websocketclj

(upgrade-websocket req res ws options)
(upgrade-websocket req
                   res
                   async-context
                   ws
                   {:keys [ws-max-idle-time ws-max-text-message-size]
                    :or {ws-max-idle-time 500000
                         ws-max-text-message-size 65536}})

write-callbackclj

(write-callback {:keys [write-failed write-success]
                 :or {write-failed no-op write-success no-op}})

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

× close