Ring request helper functions.
Ring request helper functions.
(sessions-enabled? req)
True if sessions are enabled in Undertow server configuration. When sessions are disabled then attempts to set :session keys will raise exception.
True if sessions are enabled in Undertow server configuration. When sessions are disabled then attempts to set :session keys will raise exception.
(websocket? req)
True if Upgrade
header in the request is "websocket". Case-insensitive.
True if `Upgrade` header in the request is "websocket". Case-insensitive.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close