Liking cljdoc? Tell your friends :D

catacumba.handlers.session

Http Sessions support for Catacumba.

Http Sessions support for Catacumba.
raw docstring

source

ISessioncljprotocol

-accessed?clj

(-accessed? _)

Check if session is accessed

Check if session is accessed

-empty?clj

(-empty? _)

Check if the session is empty.

Check if the session is empty.

-get-idclj

(-get-id _)

Get the session id.

Get the session id.

-modified?clj

(-modified? _)

Check if session is modified

Check if session is modified
source

ISessionStoragecljprotocol

-deleteclj

(-delete _ key)

-readclj

(-read _ key)

-writeclj

(-write _ key data)
source

memory-storageclj

(memory-storage)

In memmory session storage constructor.

In memmory session storage constructor.
sourceraw docstring

sessionclj

(session)
(session {:keys [storage cookie-name]
          :or {storage :inmemory cookie-name default-cookie-name}
          :as options})

A session chain handler constructor.

A session chain handler constructor.
sourceraw docstring

(signed-cookie & {:keys [key] :as opts})
source

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

× close