package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

3.0.4.tar.gz
md5=8a2754d6e5b9eafb8ff332abdb1ceb7d
sha512=3230a1315686b0b6f90a41ceda27ab036e178184ab13d5a98f64d6d987caf4a8a5d94ed78bc8e79b0ee3b40ccbb1dbdc71ffe171f1aef1f18aba81fc720e3a1b

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.

Sourceval log_src : Logs.src
Sourcemodule Crypto : sig ... end