val log_src : Logs.src
module Flash : sig ... end
val find' : Opium.Request.t -> Flash.t option
val find_alert : Opium.Request.t -> string option
val find_notice : Opium.Request.t -> string option
val find : Stdlib.String.t -> Opium.Request.t -> string option
val set_alert : string -> Opium.Response.t -> Opium.Response.t
val set_notice : string -> Opium.Response.t -> Opium.Response.t
val set : (string * string) list -> Opium.Response.t -> Opium.Response.t
type decode_status
=
| No_cookie_found |
| Parse_error |
| Found of Flash.t |
val decode_flash : string -> Opium.Request.t -> decode_status
val persist_flash : ?old_flash:Flash.t -> ?delete_if_not_set:bool -> string -> Opium.Response.t -> Opium.Response.t
val middleware : ?cookie_key:string -> unit -> Rock.Middleware.t