(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)}})
(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:
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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close