Module Eliom.Common
include module type of struct include Common_base end
exception Site_information_not_available of stringexception Eliom_site_information_not_available of stringtype scope_hierarchy = Common_base.scope_hierarchy = | User_hier of string| Default_ref_hier| Default_comet_hier
val scope_hierarchy_of_json : Deriving_Json_lexer.lexbuf -> scope_hierarchyval scope_hierarchy_to_json : Buffer.t -> scope_hierarchy -> unitval scope_hierarchy_json : scope_hierarchy Deriving_Json.ttype user_scope = [ | `Session_group of scope_hierarchy| `Session of scope_hierarchy| `Client_process of scope_hierarchy
]val user_scope_recognize : [ `Cst of int | `NCst of int ] -> boolval user_scope_of_json_with_tag :
Deriving_Json_lexer.lexbuf ->
[ `Cst of int | `NCst of int ] ->
user_scopeval user_scope_of_json : Deriving_Json_lexer.lexbuf -> user_scopeval user_scope_to_json : Buffer.t -> user_scope -> unitval user_scope_json : user_scope Deriving_Json.ttype global_scope = [ | `Global
]type site_scope = [ | `Site
]type request_scope = [ | `Request
]type user_level = [ | `Session_group| `Session| `Client_process
]type cookie_level = [ ]val cookie_level_recognize : [ `Cst of int | `NCst of int ] -> boolval cookie_level_of_json_with_tag :
Deriving_Json_lexer.lexbuf ->
[ `Cst of int | `NCst of int ] ->
cookie_levelval cookie_level_of_json : Deriving_Json_lexer.lexbuf -> cookie_levelval cookie_level_to_json : Buffer.t -> cookie_level -> unitval cookie_level_json : cookie_level Deriving_Json.ttype cookie_scope = [ ]val level_of_user_scope :
[< `Client_process of scope_hierarchy & 'a
| `Session of scope_hierarchy & 'b
| `Session_group of scope_hierarchy & 'c ] ->
[> user_level ]val cookie_level_of_user_scope :
[< `Client_process of scope_hierarchy & 'a
| `Session of scope_hierarchy & 'b
| `Session_group of scope_hierarchy & 'c ] ->
[> cookie_level ]val cookie_scope_of_user_scope : [< user_scope ] -> [> cookie_scope ]val scope_hierarchy_of_user_scope : [< user_scope ] -> scope_hierarchytype full_state_name = Common_base.full_state_name = {user_scope : user_scope;secure : bool;site_dir_str : string;
}val full_state_name_of_json : Deriving_Json_lexer.lexbuf -> full_state_nameval full_state_name_to_json : Buffer.t -> full_state_name -> unitval full_state_name_json : full_state_name Deriving_Json.tmodule Full_state_name_table = Common_base.Full_state_name_tableval no_state_cookies : state_cookiestype csrf_info = Common_base.csrf_info = {csrf_id : int;(*Unique id
*)csrf_scope : user_scope;(*Scope of the delayed registration, if the service is registered in the global table
*)csrf_secure : bool option;(*
*)?secureparameter of the delayed registration, likewise
}type att_key_serv = Common_base.att_key_serv = type na_key_serv = Common_base.na_key_serv = type att_key_req = Common_base.att_key_req = | RAtt_no| RAtt_named of string| RAtt_anon of string
type na_key_req = Common_base.na_key_req = | RNa_no| RNa_get_ of string| RNa_post_ of string| RNa_get' of string| RNa_post' of string
val att_key_serv_of_req : att_key_req -> att_key_servval na_key_serv_of_req : na_key_req -> na_key_servval defaultpagename : stringval eliom_suffix_name : stringval eliom_suffix_internal_name : stringval eliom_nosuffix_page : stringval naservice_num : stringval naservice_name : stringval get_state_param_name : stringval post_state_param_name : stringval get_numstate_param_name : stringval post_numstate_param_name : stringval co_param_prefix : stringval na_co_param_prefix : stringval nl_param_prefix : stringval pnl_param_prefix : stringval npnl_param_prefix : stringval eliom_internal_nlp_prefix : stringval tab_cookies_param_name : stringval to_be_considered_as_get_param_name : stringval appl_name_cookie_name : stringval appl_name_header_name : stringval full_xhr_redir_header : stringval half_xhr_redir_header : stringval response_url_header : stringval set_tab_cookies_header_name : stringval tab_cookies_header_name : stringval cookie_substitutes_header_name : stringval set_cookie_substitutes_header_name : stringval tab_cpi_header_name : stringval expecting_process_page_name : stringval base_elt_id : stringval nl_is_persistent : string -> booltype client_process_info = Common_base.client_process_info = {cpi_ssl : bool;cpi_hostname : string;cpi_server_port : int;cpi_original_full_path : string list;
}val client_process_info_of_json :
Deriving_Json_lexer.lexbuf ->
client_process_infoval client_process_info_to_json : Buffer.t -> client_process_info -> unitval client_process_info_json : client_process_info Deriving_Json.ttype sess_info = Common_base.sess_info = {si_other_get_params : (string * string) list;si_all_get_params : (string * string) list;si_all_post_params : (string * string) list option;si_all_file_params : (string * Lib.file_info) list option;si_nonatt_info : na_key_req;si_state_info : att_key_req * att_key_req;si_previous_extension_error : int;si_na_get_params : (string * string) list Lazy.t;si_nl_get_params : (string * string) list Lib.String.Table.t;si_nl_post_params : (string * string) list Lib.String.Table.t;si_nl_file_params : (string * Lib.file_info) list Lib.String.Table.t;si_persistent_nl_get_params : (string * string) list Lib.String.Table.t Lazy.t;si_all_get_but_na_nl : (string * string) list Lazy.t;si_all_get_but_nl : (string * string) list;si_ignored_get_params : (string * string) list;si_ignored_post_params : (string * string) list;si_client_process_info : client_process_info option;si_expect_process_data : bool Lazy.t;
}type eliom_js_page_data = Common_base.eliom_js_page_data = {ejs_global_data : (Runtime.global_data * Wrap.unwrapper) option;ejs_request_data : Runtime.request_data;ejs_event_handler_table : Ocsigen_lib_base.poly Runtime.RawXML.ClosureMap.t;ejs_client_attrib_table : Ocsigen_lib_base.poly Runtime.RawXML.ClosureMap.t;ejs_sess_info : sess_info;
}val tyxml_unwrap_id_int : intval comet_channel_unwrap_id_int : intval react_up_unwrap_id_int : intval react_down_unwrap_id_int : intval signal_down_unwrap_id_int : intval bus_unwrap_id_int : intval client_value_unwrap_id_int : intval global_data_unwrap_id_int : intval server_function_unwrap_id_int : intval site_init_compilation_unit_id : stringtype node_ref = stringval nl_get_appl_parameter : stringval make_actual_path : string list -> string listval is_client_app : bool refval prefixlength : intval prefixlengthminusone : intval split_nl_prefix_param :
(string * 'a) list ->
(string * 'a) list Lib.String.Table.t * (string * 'a) listval split_prefix_param :
string ->
(string * 'a) list ->
(string * 'a) list * (string * 'a) listval remove_prefixed_param : string -> (string * 'a) list -> (string * 'a) listval remove_na_prefix_params : (string * 'a) list -> (string * 'a) listval filter_na_get_params : (string * string) list -> (string * string) listexception Eliom_404Service called with wrong parameter names
exception Eliom_Wrong_parameterexception Eliom_duplicate_registration of stringexception Eliom_page_erasing of stringtype 'a dircontent = 'a Common_base.dircontent = | Empty| Table of 'a direlt ref Lib.String.Table.t
and 'a direlt = 'a Common_base.direlt = | Dir of 'a dircontent ref| File of 'a ref
val empty_dircontent : unit -> 'a dircontenttype 'a service_table = 'a Common_base.service_table = {st_generation : int;st_priority : int;st_content : 'a dircontent ref;
}type meth = [ | `Get| `Post| `Put| `Delete| `Other
]type page_table_key = Common_base.page_table_key = {key_state : att_key_serv * att_key_serv;key_meth : meth;
}type anon_params_type = intexception Eliom_Typing_Error of (string * exn) listtype ('params, 'result) service = ('params, 'result) Common_base.service = {s_id : anon_params_type * anon_params_type;mutable s_max_use : int option;s_expire : (float * float ref) option;s_f : bool -> 'params -> 'result Lwt.t;
}val backtrace_lwt : int -> string listtype server_params = unitval get_sp : unit -> unitval get_sp_option : unit -> unit optiontype 'a wrapper = unitval make_wrapper : 'b -> 'a wrapperval empty_wrapper : unit -> 'a wrappertype unwrap_id = Unwrap.unwrap_idval react_up_unwrap_id : unwrap_idval react_down_unwrap_id : unwrap_idval signal_down_unwrap_id : unwrap_idval comet_channel_unwrap_id : unwrap_idval bus_unwrap_id : unwrap_idval sitedata : Types.sitedata option refval global_register_allowed : unit -> (unit -> Types.sitedata) optionval get_site_dir : Types.sitedata -> Lib.Url.pathval get_site_dir_string : Types.sitedata -> stringval add_unregistered : 'a -> 'b -> unitval client_html_file : unit -> stringval set_client_html_file : string -> unitval defer : (unit -> 'a option) -> ('a -> 'b) -> 'b option ref