package eliom
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=089b68d5bac8dfae1116923f6d95b39c
sha512=b4828b57d963d217ca0efd871b1c0b3f8816c7971825eb49d0dc06dbd91004fc659f83f9121d849ab8de47560941d07b2b9c1838b3387e7c1a4d3d6b9058936b
doc/eliom.server/Eliom_syntax/index.html
Module Eliom_syntax
Source
Registers a client value datum for the next server section when executed in a global_data (cf. Eliom_syntax.set_global
) or in the request_data when executed in a request.
All client values created between set_global true
and set_global false
are considered global client values (cf. <<a_manual chapter="clientserver-language" chapter="clientvalues"|the manual>>).
Returns whether client values created in the current context should be considered global
Called at the end of each server or shared section. The argument identifies the compilation unit.
Adds the list of recently registered Eliom_runtime.client_value_datum
s into the queue of server section data of the compilation unit (Eliom_lib_base.compilation_unit_global_data
).
Called in parallel with <<a_api subproject="client"|Eliom_client.Syntax_helpers.close_server_section>>.
val close_client_section :
string ->
(int * Ocsigen_lib.poly * Eliom_lib.pos * string option) list ->
unit
Called at the end of every client or shared section. The first argument identifies the compilation unit. The second is the list of novel injections in that section.
Adds a list of Eliom_lib_base.injection_datum
s into the queue of client section data of the compilation unit (Eliom_lib_base.compilation_unit_global_data
).
Called in parallel with <<a_api subproject="client"|Eliom_client.Syntax_helpers.open_client_section>>.
Convert any value to a Eliom_runtime.escaped_value
for usage in the args
argument to Eliom_syntax.client_value
.