(initialize-websocket-handler
req
{:keys [raw-stream? headers max-frame-payload max-frame-size allow-extensions?
compression? pipeline-transform heartbeats]
:or {raw-stream? false
max-frame-payload 65536
max-frame-size 1048576
allow-extensions? false
compression? false}
:as options})
(websocket-server-handler raw-stream? ch handshaker)
(websocket-server-handler raw-stream? ch handshaker heartbeats)
(websocket-upgrade-request? req)
Returns true
if given request is an attempt to upgrade to websockets
Returns `true` if given request is an attempt to upgrade to websockets
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close