Module Lib
module Lib : sig..end
A few common functions used by Eliom. Extension of OCaml stdlib. See also Ocsigen_base.Lib
include Ocsigen_base.LibSee Ocsigen_base.Lib .
include Lib_basetype file_info = Ocsigen.Extensions.file_info
val string_escape : string -> string
val to_json : ?typ:'a Deriving_Json.t -> 'a -> string
val of_json : ?typ:'a Deriving_Json.t -> string -> 'a
val debug : ('a, unit, string, unit) Stdlib.format4 -> 'a
Deprecated. Use Lwt_log.ign_info_f instead
val jsmarshal : 'a -> string
Marshal an OCaml value into a string. All characters are escaped
val eliom_logs_src : Logs.src
Log section for logs generated by Eliom.
val make_cryptographic_safe_string : ?len:int -> unit -> string
Return a base-64 encoded cryptographic safe string of the given length. Not implemented client-side.