Liking cljdoc? Tell your friends :D

strojure.ring-undertow.impl.session

Implementation of ring sessions.

Implementation of ring sessions.
raw docstring

get-sessionclj

(get-session exchange)

Returns ring session data from server exchange.

Returns ring session data from server exchange.
sourceraw docstring

put-session-entriesclj

(put-session-entries exchange entries)

Puts ring session entries into Undertow session storage.

  • When entries is nil then session data is removed.
  • When entry value is nil then this entry is unset from the session data.
  • Otherwise entry is set in session data.

Raises exception if session storage is not initialized in server configuration and session values cannot be set.

Puts [ring session][1] `entries` into Undertow session storage.

- When `entries` is `nil` then session data is removed.
- When entry value is `nil` then this entry is unset from the session data.
- Otherwise entry is set in session data.

Raises exception if session storage is not initialized in server configuration
and session values cannot be set.

[1]: https://github.com/ring-clojure/ring/wiki/Sessions
sourceraw docstring

ring-session-keyclj

The name of the key in Undertow session storage for ring session data. Same name as in other implementations like immutant and luminus.

The name of the key in Undertow session storage for ring  session data. Same
name as in other implementations like immutant and luminus.
sourceraw docstring

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

× close