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
raw docstring

WebSocketPingcljprotocol

-ping!clj

(-ping! x ws)

How to encode bytes sent with a ping

How to encode bytes sent with a ping

WebSocketProtocolcljprotocol

close!clj

(close! this)

connected?clj

(connected? this)

idle-timeout!clj

(idle-timeout! this ms)

ping!clj

(ping! this)
(ping! this msg)

remote-addrclj

(remote-addr this)

req-ofclj

(req-of this)

send!clj

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

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

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

× close