This is client API (go to server)

Module Eliom_lib

module Eliom_lib : sig..end

See Eliom_pervasives.​client_value .

include Ocsigen_lib_base
include Eliom_lib_base
type 'a client_value = 'a
exception Eliom_Internal_Error of string
exception Exception_on_server of string

This exception is raised (in Lwt) on the client if a call to a server function Eliom_pervasives.​server_function fails (in Lwt) on the server side.

The argument describes the original exception by Printexc.to_string.

type file_info = File.file Js.t
val to_json : ?typ:'a -> 'b -> string
val of_json : ?typ:'a -> string -> 'b
exception False

Event handlers like Error a_api: invalid contents may raise False to cancel the event (as if the JavaScript function returned false).

module Url : sig..end
module String : sig..end
val error : ('a, unit, string, 'b) Pervasives.format4 -> 'a
val error_any : 'c -> ('a, unit, string, 'b) Pervasives.format4 -> 'a
val alert : ('a, unit, string, unit) Pervasives.format4 -> 'a
val jsalert : Js.js_string Js.t -> unit
val debug : ('a, unit, string, unit) Pervasives.format4 -> 'a
val debug_var : string -> 'a -> unit
val debug_exn : ('a, unit, string, unit) Pervasives.format4 -> exn -> 'a
val jsdebug : 'a -> unit
val trace : ('a, unit, string, unit) Pervasives.format4 -> 'a
val lwt_ignore : ?message:string -> unit Lwt.t -> unit
val encode_form_value : 'a -> string
val unmarshal_js : Js.js_string Js.t -> 'a
val encode_header_value : 'a -> string
val js_array_to_list : 'a Js.js_array Js.t -> 'a list