package eliom
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=4f56c3914f8308844e076957eb2f100d
sha512=c3e84bb00c53811fbe5453d8418b5afac5df1d54431b362e433506bbdb547825d6c83462c9ec7b85bb92186e01be98699aa1febc3a03a04548b9641128d93612
doc/eliom.server/Eliom/index.html
Module EliomSource
Set your application name. Use this if you want to make it possible to link your Eliom application statically and to have several Eliom applications on the same Web server. See also parameter ?app_names of instruction or Eliom.run.
The default application name, if you don't specify any
val run :
?app:string ->
?xhr_links:bool ->
?data_timeout:
([< Eliom_common.cookie_level ]
* Eliom_common_base.scope_hierarchy option
* float option) ->
?service_timeout:
([< Eliom_common.cookie_level ]
* Eliom_common_base.scope_hierarchy option
* float option) ->
?persistent_timeout:
([< Eliom_common.cookie_level ]
* Eliom_common_base.scope_hierarchy option
* float option) ->
?max_service_sessions_per_group:(int * bool) ->
?max_volatile_data_sessions_per_group:(int * bool) ->
?max_persistent_data_sessions_per_group:int ->
?max_service_tab_sessions_per_group:(int * bool) ->
?max_volatile_data_tab_sessions_per_group:(int * bool) ->
?max_persistent_data_tab_sessions_per_group:int ->
?max_anonymous_services_per_session:(int * bool) ->
?secure_cookies:bool ->
?application_script:(bool * bool) ->
?enable_wasm:bool ->
?global_data_caching:(string list * int) option ->
?html_content_type:string ->
?ignored_get_params:(string * Re.re) ->
?ignored_post_params:(string * Re.re) ->
?omitpersistentstorage:Eliom_common.omitpersistentstorage_rule list option ->
unit ->
Ocsigen_server.instructionrun ?app () run Eliom application app under current site. Use this to build a static executable without configuration file. Default value of ?app is default_app_name. Other optional values correspond to Eliom configuration for this site.
When ?enable_wasm is set to true, the server will generate a detection script that loads the WASM version of your client code if the browser supports WebAssembly, with automatic fallback to JavaScript otherwise. If not specified, the global default is used (see Eliom_config.set_enable_wasm), which is false.