package eliom

  1. Overview
  2. Docs
Advanced client/server Web and mobile framework

Install

Dune Dependency

Authors

Maintainers

Sources

10.4.0.tar.gz
md5=87e171413ab2714514019b533f3f7ab3
sha512=e3ed10c599dd54bc5d4b1bf67debb7068f439d33e30dd39e5ed0cebbddd700b9765a751e16fa93dbd1fa6d934fbb6b2d1677fce817fbfea70565192a0a7e1025

doc/eliom.server/Eliommod/index.html

Module EliommodSource

Internal functions used by Eliom:

Tables of services (global and session tables,

persistent and volatile data tables)

Store and load services

Sourceval default_max_persistent_data_sessions_per_group : int ref
Sourceval default_max_service_sessions_per_group : int ref
Sourceval default_max_service_sessions_per_subnet : int ref
Sourceval default_max_volatile_data_sessions_per_group : int ref
Sourceval default_max_volatile_data_sessions_per_subnet : int ref
Sourceval default_max_persistent_data_tab_sessions_per_group : int ref
Sourceval default_max_service_tab_sessions_per_group : int ref
Sourceval default_max_volatile_data_tab_sessions_per_group : int ref
Sourceval default_secure_cookies : bool ref
Sourceval default_application_script : (bool * bool) ref
Sourceval default_cache_global_data : (Eliom_lib.Url.path * int) option ref
Sourceval default_html_content_type : string option ref
Sourceval default_ignored_get_params : (string * Re.re) list ref
Sourceval default_ignored_post_params : (string * Re.re) list ref
Sourceval default_omitpersistentstorage : Eliom_common.omitpersistentstorage_rule list option ref
Sourceval default_max_anonymous_services_per_subnet : int ref
Sourceval default_max_anonymous_services_per_session : int ref
Sourceval default_max_volatile_groups_per_site : int ref
Sourcemodule S : sig ... end

We associate to each service a function server_params -> page

Sourceval 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
Sourceval 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:

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

Function to be called at the end of the initialisation phase

Sourceval handle_init_exn : exn -> string

Function that will handle exceptions during the initialisation phase

Module loading

Sourceval site_init_ref : (unit -> unit) list ref
Sourceval register_site_init : (unit -> unit) -> unit

Register function for evaluation at site initialisation

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

Parsing of config file for each site:

OCaml

Innovation. Community. Security.