Liking cljdoc? Tell your friends :D

ring.adapter.jetty9.websocket


ensure-containerclj

(ensure-container server context-handler)
source

reify-ws-creatorclj

(reify-ws-creator resp-map)
source

upgrade-websocketclj

(upgrade-websocket req
                   resp
                   cb
                   ws-resp
                   {:as _options
                    :keys [ws-max-idle-time ws-max-frame-size
                           ws-max-binary-message-size ws-max-text-message-size
                           ws-configurator]
                    :or {ws-configurator (constantly nil)}})
source

ws-upgrade-request?clj

(ws-upgrade-request? {:keys [headers]})

Checks if a request is a websocket upgrade request.

It is a websocket upgrade request when it contains the following headers:

  • connection: upgrade
  • upgrade: websocket
Checks if a request is a websocket upgrade request.

It is a websocket upgrade request when it contains the following headers:
- connection: upgrade
- upgrade: websocket
sourceraw docstring

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

× close