Liking cljdoc? Tell your friends :D

luminus.ws


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}})
source

proxy-ws-handlerclj

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

Returns a Jetty websocket handler

Returns a Jetty websocket handler
sourceraw docstring

reify-custom-ws-creatorclj

(reify-custom-ws-creator ws-creator-fn)
source

reify-default-ws-creatorclj

(reify-default-ws-creator options)
source

RequestMapDecodercljprotocol

build-request-mapclj

(build-request-map r)
source

set-headersclj

(set-headers response headers)

Update a HttpServletResponse with a map of headers.

Update a HttpServletResponse with a map of headers.
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

write-callbackclj

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

ws-handlerclj

(ws-handler {:keys [context-path allow-null-path-info?]
             :or {allow-null-path-info? false}
             :as options})
source

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

× close