Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Eliom_lib

module Eliom_lib : sig..end

Eliom standard library


include Ocsigen_lib_base
include Eliom_lib_base
type file_info = Js_of_ocaml.File.file Js_of_ocaml.Js.t
val to_json : ?typ:'a -> 'b -> string
val of_json : ?typ:'a -> string -> 'b
module Url : sig..end
module String : sig..end
module Lwt_log : sig..end

Extension of Lwt_log_js .

val error : ('a, unit, string, 'b) Stdlib.format4 -> 'a

Deprecated. Use Lwt_log.ign_raise_error_f instead

val error_any : 'c -> ('a, unit, string, 'b) Stdlib.format4 -> 'a

Deprecated. Use Lwt_log.ign_raise_error_f (with ~inspect argument) instead

val debug : ('a, unit, string, unit) Stdlib.format4 -> 'a

Deprecated. Use Lwt_log.ign_info_f instead

val debug_exn : ('a, unit, string, unit) Stdlib.format4 -> exn -> 'a

Deprecated. Use Lwt_log.ign_info_f instead

val jsdebug : 'a -> unit

Deprecated. Use Lwt_log.ign_info (with ~inspect argument) instead

val alert : ('a, unit, string, unit) Stdlib.format4 -> 'a
val jsalert : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> unit
val confirm : ('a, unit, string, bool) Stdlib.format4 -> 'a
val debug_var : string -> 'a -> unit
val trace : ('a, unit, string, unit) Stdlib.format4 -> 'a
val lwt_ignore : ?message:string -> unit Lwt.t -> unit
val encode_form_value : 'a -> string
val unmarshal_js : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> 'a
val encode_header_value : 'a -> string
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.