package sihl

  1. Overview
  2. Docs
val find : Request.t -> string option

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

val 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.

val log_src : Logs.src
module Crypto : sig ... end
OCaml

Innovation. Community. Security.