package eliom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Internal functions used by Eliom:

Tables of services (global and session tables,

persistent and volatile data tables)

Store and load services

val default_max_persistent_data_sessions_per_group : int Stdlib.ref
val default_max_service_sessions_per_group : int Stdlib.ref
val default_max_service_sessions_per_subnet : int Stdlib.ref
val default_max_volatile_data_sessions_per_group : int Stdlib.ref
val default_max_volatile_data_sessions_per_subnet : int Stdlib.ref
val default_max_persistent_data_tab_sessions_per_group : int Stdlib.ref
val default_max_service_tab_sessions_per_group : int Stdlib.ref
val default_max_volatile_data_tab_sessions_per_group : int Stdlib.ref
val default_secure_cookies : bool Stdlib.ref
val default_application_script : (bool * bool) Stdlib.ref
val default_cache_global_data : (Eliom_lib.Url.path * int) option Stdlib.ref
val default_html_content_type : string option Stdlib.ref
val default_ignored_get_params : (string * Re.re) list Stdlib.ref
val default_ignored_post_params : (string * Re.re) list Stdlib.ref
val default_omitpersistentstorage : Eliom_common.omitpersistentstorage_rule list option Stdlib.ref
val default_max_anonymous_services_per_subnet : int Stdlib.ref
val default_max_anonymous_services_per_session : int Stdlib.ref
val default_max_volatile_groups_per_site : int Stdlib.ref
module S : sig ... end
val create_sitedata : Ocsigen_extensions.virtual_hosts -> Eliom_lib.Url.path -> Ocsigen_extensions.config_info -> Eliom_common.sitedata

We associate to each service a function server_params -> page

val parse_eliom_option : (([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * ([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * ([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * ([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (bool -> 'a) * (int -> 'a) * (int -> 'a) * ((bool * bool) -> 'a) * ((Eliom_lib.Url.path * int) option -> 'a) * (string -> 'a) * ((string * Re.re) -> 'a) * ((string * Re.re) -> 'a) * (Eliom_common.omitpersistentstorage_rule list option -> 'a)) -> Xml.xml -> 'a
val parse_eliom_options : (([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * ([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * ([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * ([> `Client_process | `Session ] -> Eliom_common_base.scope_hierarchy Eliom_lib.Option.t -> float option -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (int -> 'a) * (bool -> 'a) * (int -> 'a) * (int -> 'a) * ((bool * bool) -> 'a) * ((Eliom_lib.Url.path * int) option -> 'a) * (string -> 'a) * ((string * Re.re) -> 'a) * ((string * Re.re) -> 'a) * (Eliom_common.omitpersistentstorage_rule list option -> 'a)) -> Xml.xml list -> Xml.xml list

Parsing global configuration for Eliommod:

val parse_global_config : Xml.xml list -> unit
val exception_during_eliommodule_loading : bool Stdlib.ref
val end_init : unit -> unit

Function to be called at the end of the initialisation phase

val handle_init_exn : exn -> string

Function that will handle exceptions during the initialisation phase

Module loading

val site_init_ref : (unit -> unit) list Stdlib.ref
val register_site_init : (unit -> unit) -> unit

Register function for evaluation at site initialisation

val config : Xml.xml list Stdlib.ref
val config_in_tag : string Stdlib.ref
type module_to_load =
  1. | Files of string list
  2. | Name of string
val site_init : bool Stdlib.ref -> unit
val load_eliom_module : 'a -> module_to_load -> string -> Xml.xml list -> unit
val gen_nothing : unit -> 'a -> Ocsigen_extensions.answer Lwt.t
val default_module_action : 'a -> 'b

Parsing of config file for each site:

OCaml

Innovation. Community. Security.