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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |