Web.Csrf
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.
find request
request
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.
find_exn request