module type APP =sig
..end
val application_script : ?defer:bool -> ?async:bool -> unit -> [> `Script ] Eliom_content.Html.elt
The function application_name ()
returns a <script>
node
that represents the javascript part of the application. If you
do not include this script in the <head>
node of your page, it
will be automatically added at the end of the <head>
node.
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.
type
app_id
The type appl
is an abstract type for identifying an
application. It usually used a phantom parameter for
Eliom_registration.application_content
.
include Eliom_registration_sigs.S_with_create