module App : functor (Appl_params : APPL_PARAMS) ->
Functor for application creation.
val set_client_fun :
service:('a, 'b, 'c, 'd, 'e, 'f, 'g,
[< `WithSuffix | `WithoutSuffix ], 'h, 'i, 'j)
('a -> 'b -> unit Lwt.t) Eliom_client_value.t -> unit
Attach a client function to a service, that will be used instead of calling the server to generate the page.
val application_script :
?async:bool -> unit -> [> `Script ] Eliom_content.Html5.elt
val application_name : string
Unique identifier for this application. Currently, it is just the application name as defined by Appl_params.application_name.
Warning: do not mix up with the "application instance id", that is unique for each instance of the application on a client.
val is_initial_request : unit -> bool
Checks during a request whether it is the initial request of the client process in this Eliom application.
The type appl is an abstract type for identifying an application. It usually used a phantom parameter for Eliom_registration.application_content.