package sihl
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=8a2754d6e5b9eafb8ff332abdb1ceb7d
sha512=3230a1315686b0b6f90a41ceda27ab036e178184ab13d5a98f64d6d987caf4a8a5d94ed78bc8e79b0ee3b40ccbb1dbdc71ffe171f1aef1f18aba81fc720e3a1b
doc/sihl/Sihl/Web/Flash/index.html
Module Web.FlashSource
find_alert request returns the alert stored in the flash storage of the current request.
Make sure that the flash middleware is installed.
set_alert alert response returns a response with an alert message associated to it. Use alert to tell the user that something went wrong.
Make sure that the flash middleware is installed.
find_notice request returns the notice stored in the flash storage of the current request.
Make sure that the flash middleware is installed.
set_notice notice response returns a response with a notice message associated to it. Use notice to tell the user that something happened (successfully).
Make sure that the flash middleware is installed.
find key request returns the string stored in the flash storage of the current request associated with key.
Make sure that the flash middleware is installed.
set flash response returns a response with the flash stored. Use this to store arbitrary key-value values in the flash store.
Make sure that the flash middleware is installed.