Liking cljdoc? Tell your friends :D

wagoe.platform.shell.http.flash

Ring flash in a cookie, not the Ring session: :session is the user module's database session. Unsigned, since only toast text is read back.

Ring flash in a cookie, not the Ring session: `:session` is the user
module's database session. Unsigned, since only toast text is read back.
raw docstring

source

wrap-flashclj

(wrap-flash handler)
(wrap-flash handler {:keys [secure?] :or {secure? true}})

Carries a response's :flash to the next request. Runs inside wrap-cookies. A flash is read once: the request that brings it clears the cookie, unless its response sets a new one or is a redirect without a :flash, which renders nothing. :secure?, default true, marks the cookie Secure, as :secure-cookies? does the auth cookies.

Carries a response's `:flash` to the next request. Runs inside wrap-cookies.
A flash is read once: the request that brings it clears the cookie, unless
its response sets a new one or is a redirect without a `:flash`, which
renders nothing. `:secure?`, default true, marks the cookie Secure, as
`:secure-cookies?` does the auth cookies.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close