package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.1.tar.gz
md5=4157e84bdd55758a1a2fb1ccb4172663
sha512=31aa7fc2b27a2713955b2bd6ed2b727245796e26361d0ba163501a79b9f46a75d258fbc6165eb68ddbfb16b18f96560367946fa91f856c14027fbfb2286233e9

doc/sihl/Sihl/Web/Csrf/index.html

Module Web.CsrfSource

Sourceval find : Request.t -> string option

find request returns the CSRF token of the current request. Make sure that the CSRF middleware is installed.

Sourceval find_exn : Request.t -> string

find_exn request returns the CSRF token of the current request. If the CSRF middleware is not installed, an exception is raised.

Sourcemodule Crypto : sig ... end
OCaml

Innovation. Community. Security.