Liking cljdoc? Tell your friends :D

ring.adapter.jetty9.websocket


proxy-ws-handlerclj

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

Returns a Jetty websocket handler

Returns a Jetty websocket handler
sourceraw docstring

WebSocketProtocolcljprotocol

close!clj

(close! this)

connected?clj

(connected? this)

idle-timeout!clj

(idle-timeout! this ms)

remote-addrclj

(remote-addr this)

req-ofclj

(req-of this)

send!clj

(send! this msg)
(send! this msg callback)
source

WebSocketSendcljprotocol

-send!clj

(-send! x ws)
(-send! x ws callback)

How to encode content sent to the WebSocket clients

How to encode content sent to the WebSocket clients
source

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

× close