package sihl

  1. Overview
  2. Docs
The Sihl web framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

3.0.3.tar.gz
md5=d1502bb2a31114e33f539910bfce1139
sha512=6f5b4d1c6e6eb7c77fb483ef52eea5f69b75079830ec622a552fef33c4fe87f6a70499db9621a8fa298a80aa21649e0047aaba1b9eb53d28c2d573e1f84acf92

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