package sihl

  1. Overview
  2. Docs
val find : Rock.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 : Rock.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.

module Crypto : sig ... end
OCaml

Innovation. Community. Security.