Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Index of values


( ** ) [Eliom_parameter_sigs.S]

The combinator p1 ** p2 allows one to define a service that takes a pair of parameters.

(=|<) [Eliom_shared_sigs.S.Infix]

f =|< s is map f s.

(>|=) [Eliom_shared_sigs.S.Infix]

s >|= f is map f s.


A
a [Eliom_form_sigs.LINKS]

The function a service a_content get_params creates a <a> node that link to service applied to GET parameters get_params and whose content is a_content.

acc_e [Eliom_shared_sigs.RLIST]
add_nl_parameter [Eliom_parameter_sigs.S]
add_non_localized_get_parameters [Eliom_service_sigs.S]

The function add_non_localized_get_parameters ~params ~service Adds non localized GET parameters params to service.

add_non_localized_post_parameters [Eliom_service_sigs.S]
all_suffix [Eliom_parameter_sigs.S]

Takes the whole suffix, as long as possible, as a (slash separated) string list

all_suffix_regexp [Eliom_parameter]

all_suffix_regexp r d s takes all the suffix, as long as possible, matching the regular expression r, name s, and rewrite it in d.

all_suffix_string [Eliom_parameter_sigs.S]

Takes the whole suffix, as long as possible, as a string

all_suffix_user [Eliom_parameter]

Takes the whole suffix, as long as possible, with a type specified by the user.

any [Eliom_parameter_sigs.S]

Use this if you want to take any parameters.

appl_self_redirect [Eliom_registration]

The function appl_self_redirect send page is an helper function required for defining Eliom_registration.Any service usable inside an Eliom application (Eliom_registration.App).

application_name [Eliom_registration.APP]

Unique identifier for this application.

application_name [Eliom_registration_sigs.APP_PARAM]

Name of the application.

application_script [Eliom_registration.APP]

The function application_name () returns a <script> node that represents the javascript part of the application.

attach [Eliom_service]

attach ~fallback ~service () attaches the preexisting pathless service service on the URL of fallback.

attr [Eliom_content.Html.C]
attr [Eliom_content.Svg.C]
attrib [Eliom_content.Html.Custom_data]

attrib my_data value creates a HTML attribute for the custom-data type my_data with value value for injecting it into an a HTML tree (Eliom_content.Html.elt ).


B
bool [Eliom_parameter_sigs.S]

bool s means that the service takes a Boolean as the parameter named s.

bool [Eliom_form_sigs.S]
bool_checkbox_one [Eliom_form_sigs.S]

Creates a checkbox <input> tag of type bool.

button [Eliom_form_sigs.S]

Creates a <button> tag.

button_no_value [Eliom_form_sigs.S]

Creates a <button> tag with no value.


C
cast_http_result [Eliom_registration]

cast_http_result should only be used to register new output modules

cast_unknown_content_kind [Eliom_registration]

If you know that the content you generated using Text.send or Streamlist.send is the same as some other kind, you can cast it with cast_unknown_content_kind for use with Any module.

check_file [Eliom_registration.File_ct]

The function check_file file is true if File.send file would effectively return the file (i.e.

check_file [Eliom_registration.File]

The function check_file file is true if File.send file would effectively return the file (i.e.

checkbox [Eliom_form_sigs.S]

Creates a checkbox <input> tag.

clean [Eliom_notif.S]

Call clean () to clear the tables from empty data.

client [Eliom_shared_sigs.VALUE]

client x is the client-side portion of x.

client_ev [Eliom_notif.S]

Returns the client react event.

client_value [Eliom_syntax]

Registers a client value datum for the next server section when executed in a global_data (cf.

close_client_section [Eliom_syntax]

Called at the end of every client or shared section.

close_server_section [Eliom_syntax]

Called at the end of each server or shared section.

comet_client_process_scope [Eliom_common]
concat [Eliom_shared_sigs.RLIST]
const [Eliom_shared_sigs.S]
cookie_level_of_user_scope [Eliom_common]
cookie_scope_of_user_scope [Eliom_common]
coordinates [Eliom_parameter_sigs.S]

coordinates s means that the service takes as parameters the coordinates of a point in an <input type="image" ...>.

create [Eliom_service]

Service definition

create [Eliom_cscache]

Create a new table.

create [Eliom_shared.React.S]

create ?default ?reset_default x produces a pair s, f, where s is a (shared) reactive signal, and f is a shared function for updating the signal.

create [Eliom_react.Up]

create param creates an Up event.

create [Eliom_content.Html.Custom_data]

Create a custom data field by providing string conversion functions.

create [Eliom_comet.Channel]

create s returns a channel sending the values returned by stream s.

create [Eliom_bus]

create ?scope ?name ?size ?filter t creates a fresh bus.

create [Eliom_shared_sigs.RLIST]

create ?default ?reset_default l produces a pair l, f, where s is a (shared) reactive list, and f is a handle for manipulating the list.

create [Eliom_shared_sigs.VALUE]
create [Eliom_registration_sigs.S_poly_with_create]
create [Eliom_registration_sigs.S_with_create]

Create a service and register it at the same time.

create_attached_get [Eliom_service]

create_attached_get ~fallback ~get_params () attaches a new service on the path of fallback.

create_attached_get [Eliom_registration_sigs.S_poly_with_create]
create_attached_get [Eliom_registration_sigs.S_with_create]

Create an attached service and register it at the same time.

create_attached_post [Eliom_service]

create_attached_post ~fallback ~post_params () attaches a new service on the path of fallback.

create_attached_post [Eliom_registration_sigs.S_poly_with_create]
create_attached_post [Eliom_registration_sigs.S_with_create]

Create an attached POST service and register it at the same time.

create_filtered [Eliom_bus]

Same as create, but data is filtered through filter function before entering the bus.

create_from_events [Eliom_comet.Channel]

create_from_events e returns a channel sending the values returned by the event stream e.

create_global_elt [Eliom_content.Html.Id]

The function create_named_elt elt is equivalent to create_named_elt ~id:(new_elt_id ()) elt.

create_global_elt [Eliom_content.Svg.Id]

The function create_named_elt elt is equivalent to create_named_elt ~id:(new_elt_id ()) elt.

create_json [Eliom_content.Html.Custom_data]

Create a custom data from a Json-deriving type.

create_named_elt [Eliom_content.Html.Id]

The function create_named_elt ~id elt create a copy of the element elt that will be sent to client with the reference id.

create_named_elt [Eliom_content.Svg.Id]

The function create_named_elt ~id elt create a copy of the element elt that will be accessible through the name id.

create_newest [Eliom_comet.Channel]

create_newest s is similar to create ~scope:Eliom_common.site_scope s but only the last message is returned to the client.

create_request_elt [Eliom_content.Html.Id]

create_request_elt ?reset elt creates a referable copy of elt.

create_request_elt [Eliom_content.Svg.Id]

create_request_elt ?reset elt creates a referable copy of elt.

create_scope_hierarchy [Eliom_common]
create_unlimited [Eliom_comet.Channel]

create_unlimited s creates a channel which does not read immediately on the stream.

create_wrapper [Eliom_wrap]

create f create a new tag that can be included into a value.

css_link [Eliom_form_sigs.LINKS]

The function css_link ~uri () creates a <link> node that reference a Cascading StyleSheet (CSS).

current_persistent_data_state [Eliom_state.Ext]

Same for persistent data

current_service_state [Eliom_state.Ext]

Same for services

current_volatile_data_state [Eliom_state.Ext]

current_volatile_data_state ~scope returns the state corresponding to scope scope.


D
debug [Eliom_lib]

Deprecated.

default_appl_service_options [Eliom_registration]

The default options record for an eliom service.

default_group_scope [Eliom_common]
default_process_scope [Eliom_common]
default_protocol_is_https [Eliom_config]

The function default_protocol_is_https () returns true if there is option (<host defaultprotocol="https">)or false otherwise.

default_session_scope [Eliom_common]
deinit [Eliom_notif.S]

Deinitialise/deactivate the notification module for the current client.

discard [Eliom_state]

Delete server-side (volatile and persistent) state data and services for a session, a group of sessions, a client process or a request.

discard_all [Eliom_state]

Discard all services and persistent and volatile data for one scope.

discard_all_data [Eliom_state]

Discard server side data for all clients, for the given scope.

discard_all_scopes [Eliom_state]
discard_all_services [Eliom_state]

Remove all services registered for clients for the given scope.

discard_data [Eliom_state]

Remove current state data.

discard_everything [Eliom_state]

Discard all services and persistent and volatile data for every scopes.

discard_services [Eliom_state]

Remove all services registered for the given scope (the default being `Session).

discard_state [Eliom_state.Ext]

Discard external states.

do_cache [Eliom_cscache]

do_cache cache key value adds the association from key to value in cache, or replaces it if not already present.


E
eliom [Eliom_lib.Lwt_log]
eliom_link_too_old [Eliom_common]

If present and true in request data, it means that the previous coservice does not exist any more

eliom_service_session_expired [Eliom_common]

If present in request data, means that the service session cookies does not exist any more.

empty_nl_params_set [Eliom_parameter_sigs.S]
empty_wrapper [Eliom_wrap]

a wrapper that do not change the value

end_init [Eliom_registration]
equal_identity [Eliom_notif.ARG]

equal_identity is the same as equal_key but for values of type identity.

equal_key [Eliom_notif.ARG]

equal_key is a function testing the equality between two values of type key.

eref [Eliom_reference.Volatile]
eref [Eliom_reference]

The function eref ~scope value creates an Eliom reference for the given scope and initialize it with value.

eref_from_fun [Eliom_reference.Volatile]
eref_from_fun [Eliom_reference]

The function eref_from_fun works like the above Eliom_reference.eref, but instead of providing a value for the initial content, a function f for creating the initial content is provided (cf.

escaped_value [Eliom_syntax]

Convert any value to a Eliom_runtime.escaped_value for usage in the args argument to Eliom_syntax.client_value.

expecting_process_page [Eliom_request_info]

Returns true if the request was done by a client side Eliom program, which was expecting to receive a new HTML page to display inside the process.

extension [Eliom_registration]
extern [Eliom_service_sigs.S]

extern ~prefix ~path ~meth () creates an external service, i.e., a service implemented by a remote server (not necessarily running Ocsigen/Eliom).

external_channel [Eliom_comet.Channel]

external_channel ~prefix ~name () declares an external channel.


F
file [Eliom_parameter_sigs.S]

file s means that the service takes a file as the parameter named s.

file_input [Eliom_form_sigs.S]

Creates an <input> tag for sending a file

filter_attrib [Eliom_content.Html.R]

filter_attrib a b amounts to the attribute a while b is true, and to no attribute while b is false.

find [Eliom_cscache]

find cache get_from_db key returns the value associated to key in cache.

find_if_ready [Eliom_cscache]

Find a piece of data in local cache, without trying to fetch it from server.

float [Eliom_parameter_sigs.S]

float s means that the service takes a float as the parameter named s.

float [Eliom_form_sigs.S]
fmap [Eliom_shared_sigs.S]
fold_persistent_data_cookies [Eliom_state.Ext]

Iterator on persistent cookies.

fold_service_cookies [Eliom_state.Ext]

Iterator on service cookies.

fold_sub_states [Eliom_state.Ext]

Fold all sessions in a groups, or all client processes in a session (volatile and persistent).

fold_volatile_data_cookies [Eliom_state.Ext]

Iterator on data cookies.

fold_volatile_sub_states [Eliom_state.Ext]

Fold all sessions in a groups, or all client processes in a session.

from_signal [Eliom_shared_sigs.RLIST]

G
get [Eliom_reference.Ext]

get the value of a reference from outside the state.

get [Eliom_reference.Volatile.Ext]

get the value of a reference from outside the state.

get [Eliom_reference.Volatile]
get [Eliom_reference]

The function get eref returns the current value of the Eliom reference eref.

get_accept_language [Eliom_request_info]

returns the (string * float option) list corresponding to accept_language HTTP header of the request.

get_all_current_get_params [Eliom_request_info]

returns current parameters of the URL (GET parameters) (even those that are for subsequent services, but not previous actions)

get_all_files [Eliom_request_info]

returns all files in he HTTP request (even those that are for another service)

get_all_post_params [Eliom_request_info]

returns all parameters in the body of the HTTP request (POST parameters) (even those that are for another service)

get_config [Eliom_config]

The function get_config () returns the information of the configuration file concerning that site (between <eliommodule> and </eliommodule> or <eliom> and </eliom>).

get_config_default_charset [Eliom_config]

The function get_config_default_charset () returns the default charset for this site.

get_config_info [Eliom_config]

The function get_config_info () returns the information concerning the current request from the configuration files (must be called during a request).

get_cookies [Eliom_request_info]

returns the cookies sent by the browser

get_csp_hostname [Eliom_request_info]

returns the hostname used for absolute links, computed when launching the client side process for the first time.

get_csp_original_full_path [Eliom_request_info]

returns the full path of the URL where the client-side process is running.

get_csp_server_port [Eliom_request_info]

returns the port of the server, used when launching the client side process (not the current request).

get_csp_ssl [Eliom_request_info]

returns true if https is used in the URL of the browser, false if http.

get_current_sub_path [Eliom_request_info]

returns the sub path of the URL using the type Eliom_lib.Url.path.

get_current_sub_path_string [Eliom_request_info]

returns the sub path of the URL as a string.

get_data_cookies [Eliom_request_info]

returns the values of Eliom's cookies for non persistent sessions sent by the browser.

get_debugmode [Eliom_config]

Same as Ocsigen_config.get_debugmode.

get_default_hostname [Eliom_config]

The function get_default_hostname ()returns the hostname declared in the config file (<host defaulthostname="...">) or the default machine hostname.

get_default_port [Eliom_config]

The function get_default_port () returns the port number declared in the config file (<host defaulthttpport="...">) or 80 if undeclared.

get_default_sslport [Eliom_config]

The function get_default_sslport () returns the https port number declared in the config file (<host defaulthttpsport="...">) or 443 if undeclared.

get_expired_service_sessions [Eliom_request_info]

returns the list of names of service sessions expired for the current request, for browser sessions and tab sessions.

get_file_content_type [Eliom_request_info]

returns the content type sent by the browser with the file (if any).

get_filesize [Eliom_request_info]

returns the size of the uploaded file.

get_form [Eliom_form_sigs.S]

The function get_form service formgen creates a GET <form> to service.

get_full_url [Eliom_request_info]

returns the full URL as a string

get_get_params [Eliom_request_info]

returns the parameters of the URL (GET parameters) that concern the running service.

get_global_data [Eliom_syntax]
get_global_persistent_data_state_timeout [Eliom_state]

Returns the (server side) timeout for persistent states.

get_global_service_state_timeout [Eliom_state]

Returns the (server side) timeout for service states.

get_global_volatile_data_state_timeout [Eliom_state]

Returns the (server side) timeout for "volatile data" states.

get_header_hostname [Eliom_request_info]

returns the hostname that has been sent by the user agent.

get_hostname [Eliom_request_info]

returns the hostname used for absolute links.

get_http_method [Eliom_request_info]

returns the HTTP method used for the request (usually GET or POST).

get_identity [Eliom_notif.ARG_SIMPLE]
get_identity [Eliom_notif.ARG]

get_identity is a function returning a value of type identity corresponding to a client.

get_ignored_get_params [Eliom_request_info]

returns the GET parameters that have been ignored using <ignoredgetparams/> in config file.

get_ignored_post_params [Eliom_request_info]

returns the POST parameters that have been ignored using <ignoredpostparams/> in config file.

get_link_too_old [Eliom_request_info]

returns true if the coservice called has not been found.

get_nl_get_params [Eliom_request_info]

returns non localized parameters in the URL.

get_nl_params_names [Eliom_parameter_sigs.S]
get_nl_post_params [Eliom_request_info]

returns non localized POST parameters.

get_non_localized_get_parameters [Eliom_parameter]

get_non_localized_get_parameters ~sp p decodes and returns non localized GET parameters specified by p if present.

get_non_localized_post_parameters [Eliom_parameter]

get_non_localized_post_parameters ~sp p decodes and returns non localized POST parameters specified by p if present.

get_original_filename [Eliom_request_info]

returns the name the file had on the client when it has been sent.

get_original_full_path [Eliom_request_info]

returns the full path of the URL as first sent by the browser (not changed by previous extensions like rewritemod)

get_original_full_path_string [Eliom_request_info]

returns the full path of the URL as first sent by the browser (not changed by previous extensions like rewritemod)

get_other_get_params [Eliom_request_info]

returns the parameters of the URL (GET parameters) that do not concern the running service.

get_persistent_cookie_info [Eliom_state.Ext]
get_persistent_cookies [Eliom_request_info]

returns the values of the Eliom's cookies for persistent sessions sent by the browser.

get_persistent_data [Eliom_state.Ext.Low_level]

Fails with lwt exception Not_found if no data in the table for the cookie.

get_persistent_data_cookie_scope [Eliom_state.Ext]
get_persistent_data_cookie_timeout [Eliom_state.Ext]
get_persistent_data_session_group [Eliom_state]

returns the group to which belong the persistent session.

get_persistent_data_state_timeout [Eliom_state]

returns the persistent state timeout for current user.

get_persistent_nl_get_params [Eliom_request_info]

returns persistent non localized parameters in the URL.

get_post_params [Eliom_request_info]

returns the parameters in the body of the HTTP request (POST parameters) that concern the running service.

get_previous_extension_error_code [Eliom_request_info]

returns the HTTP error code sent by the Ocsigen extension that tried to answer to the request before Eliom.

get_remote_ip [Eliom_request_info]

returns the internet address of the client as a string

get_request [Eliom_request_info]

returns all the information about the request and config.

get_request_cache [Eliom_request_info]

returns a table in which you can store all the data you want during a request.

get_request_data [Eliom_syntax]
get_ri [Eliom_request_info]

returns all the information about the request.

get_server_port [Eliom_request_info]

returns the port of the server.

get_service_cookie_info [Eliom_state.Ext]

Get the infomration about cookies (timeouts, etc.).

get_service_cookie_scope [Eliom_state.Ext]
get_service_cookie_timeout [Eliom_state.Ext]
get_service_session_group [Eliom_state]

returns the group to which belong the service session.

get_service_session_group_size [Eliom_state]

returns the number of sessions in the group.

get_service_state_timeout [Eliom_state]

returns the timeout for current service state.

get_session_group_list [Eliom_state.Ext]

Returns a list containing the names of all session group that are available for this site.

get_site_dir [Eliom_request_info]

returns the root of the site.

get_sitedata [Eliom_request_info]
get_ssl [Eliom_request_info]

returns true if https is used, false if http.

get_state_name [Eliom_request_info]

returns the name of the sessions to which belongs the running service (None if it is not a session service)

get_suffix [Eliom_request_info]

returns the suffix of the current URL

get_timeofday [Eliom_request_info]

returns an Unix timestamp associated to the request

get_tmp_filename [Eliom_request_info]

returns the filename used by Ocsigen for the uploaded file.

get_to_and_of [Eliom_parameter_sigs.S]

Given a parameter type, get the two functions that converts from and to strings.

get_user_agent [Eliom_request_info]

returns the name of the user agent that did the request (usually the name of the browser).

get_volatile_data [Eliom_state.Ext.Low_level]

Raises Not_found if no data in the table for the cookie.

get_volatile_data_cookie_info [Eliom_state.Ext]

See Eliom_state.Ext.fold_volatile_sub_states for explanation about the ?sitedata parameter.

get_volatile_data_cookie_scope [Eliom_state.Ext]
get_volatile_data_cookie_timeout [Eliom_state.Ext]
get_volatile_data_session_group [Eliom_state]

returns the group to which belong the data session.

get_volatile_data_session_group_size [Eliom_state]

returns the number of sessions in the group.

get_volatile_data_state_timeout [Eliom_state]

returns the timeout for current volatile data state.

global_context [Eliom_syntax]

Returns whether client values created in the current context should be considered global

global_data_path [Eliom_registration_sigs.APP_PARAM]

If a path is provided, we export through it a service for accessing the global data.

global_scope [Eliom_common]

H
have_id [Eliom_content.Html.Id]
head [Eliom_tools.HTML5_TOOLS]

An auxiliary function for creating an HTML head elements.

hierarchical_menu_breadth_first [Eliom_tools.HTML5_TOOLS]

The function hierarchical_menu_breadth_first site () constructs a hierarchical menu by exploring the hierarchical site description using a breadth_first algorithm: the whole menu for one level will be displayed, followed by the sub-menu leading to the current service, and so one.

hierarchical_menu_depth_first [Eliom_tools.HTML5_TOOLS]

The function hierarchical_menu_depth_first site () constructs a hieranrchical menu by exploring the hierarchical site description using a depth-first algorithm: the first menu item will be displayed, followed by the whole sub-menu for this item, then the second menu item with its sub-menu, and so on.

html [Eliom_tools.HTML5_TOOLS]
https_static_dir [Eliom_service_sigs.S]

Like Eliom_service_sigs.S.static_dir, but forces HTTPS link

https_static_dir_with_params [Eliom_service_sigs.S]

I
image_input [Eliom_form_sigs.S]

Creates an <input type="image" name="..."> tag.

in_request_handler [Eliom_request_info]

returns true when currently handling a request.

init [Eliom_notif.S]

Initialise the notification module for the current client.

input [Eliom_form_sigs.S]

Creates an <input> tag.

int [Eliom_parameter_sigs.S]

int s means that the service takes an integer as the parameter named s.

int [Eliom_form_sigs.S]
int32 [Eliom_parameter_sigs.S]

int32 s means that the service takes a 32-bit integer as the parameter named s.

int32 [Eliom_form_sigs.S]
int64 [Eliom_parameter_sigs.S]

int64 s means that the service takes a 64-bit integer as the parameter named s.

int64 [Eliom_form_sigs.S]
is_client_app [Eliom_client]

Returns whether the application is sent by a server or started on client side.

is_external [Eliom_service]

Returns whether it is an external service or not.

is_initial_request [Eliom_registration.APP]

Checks during a request whether it is the initial request of the client process in this Eliom application.

iter_persistent_data_cookies [Eliom_state.Ext]

Iterator on persistent cookies.

iter_service_cookies [Eliom_state.Ext]

Iterator on all active service cookies.

iter_sub_states [Eliom_state.Ext]

Iter on all sessions in a groups, or all client processes in a session (volatile and persistent).

iter_volatile_data_cookies [Eliom_state.Ext]

Iterator on data cookies.

iter_volatile_sub_states [Eliom_state.Ext]

Iter on all sessions in a groups, or all client processes in a session.


J
js_script [Eliom_form_sigs.LINKS]

The function js_script ~uri () creates a <script> node that reference a javascript file.

jsmarshal [Eliom_lib]

Marshal an OCaml value into a string.


L
l2 [Eliom_shared_sigs.S]
l2_s [Eliom_shared_sigs.S.Lwt]
l3 [Eliom_shared_sigs.S]
l3_s [Eliom_shared_sigs.S.Lwt]
l4 [Eliom_shared_sigs.S]
l4_s [Eliom_shared_sigs.S.Lwt]
l5 [Eliom_shared_sigs.S]
l5_s [Eliom_shared_sigs.S.Lwt]
l6 [Eliom_shared_sigs.S]
l6_s [Eliom_shared_sigs.S.Lwt]
lazy_form [Eliom_content_sigs.LINKS_AND_FORMS]
level_of_user_scope [Eliom_common]
list [Eliom_parameter_sigs.S]

The service takes a list of parameters.

list_scope_hierarchies [Eliom_common]
listen [Eliom_notif.S]

Make client process listen on data whose index is key

local [Eliom_shared_sigs.VALUE]

local x is the local portion of x.

local_find [Eliom_cscache]

Find a piece of data in local cache, without trying to fetch it from server.

lwt_get_form [Eliom_form_sigs.S]

Same as Eliom_form_sigs.S.get_form but taking a cooperative function for <form> content generation.

lwt_post_form [Eliom_form_sigs.S]

Same as Eliom_form_sigs.S.post_form but taking a cooperative function for <form> content generation.


M
make_cryptographic_safe_string [Eliom_lib]

Return a base-64 encoded cryptographic safe string of the given length.

make_non_localized_parameters [Eliom_parameter_sigs.S]

Create a new specification for non localized parameters.

make_page [Eliom_registration.TMPL_PARAMS]
make_post_uri_components [Eliom_uri]

Same a Eliom_uri.make_uri_components, but also returns a table of post parameters.

make_post_uri_components [Eliom_form_sigs.S]

Same as LINK.make_uri_components, but also returns a list of post parameters.

make_string_uri [Eliom_uri]

The function make_string_uri ~service get_params creates the string corresponding to the URL of the service service applied to the GET parameters get_params.

make_string_uri_from_components [Eliom_uri]

The function make_string_uri_from_components path get_params fragment build the corresponding string URL.

make_uri [Eliom_form_sigs.LINKS]

The function make_uri service get_params returns the URL of the service service applied to the GET parameters get_params.

make_uri_components [Eliom_uri]

The function make_uri_components service get_params returns the a triplet (path, get_params, fragment) that is a decomposition of the URL of service applied to the GET parameters get_params.

map [Eliom_shared_sigs.RLIST]
map [Eliom_shared_sigs.S]
map_p [Eliom_shared_sigs.RLIST.Lwt]
map_s [Eliom_shared_sigs.S.Lwt]
max_identity_per_resource [Eliom_notif.ARG]

max_identity_per_resource is the initial size for the tables storing the data of clients listening on one given resource, fo best results it should be on the order of the expected number of clients that may listen on a given resource.

max_resource [Eliom_notif.ARG]

max_resource is the initial size for the hash table storing the data of clients listening on resources, for best results it should be on the order of the expected number of different resources one may want to be able to listen to.

menu [Eliom_tools.HTML5_TOOLS]

The function menu elts (), where elts is a list of pair (service, content), creates a list of link towards the services.

merge [Eliom_shared_sigs.S]
merge_s [Eliom_shared_sigs.S.Lwt]
modify [Eliom_reference.Ext]

Warning: the function will be executed with the current context

modify [Eliom_reference.Volatile.Ext]

Warning: the function will be executed with the current context

modify [Eliom_reference.Volatile]
modify [Eliom_reference]

The function modify eref f modifies the content of the Eliom reference eref by applying the function f on it.

multiple_select [Eliom_form_sigs.S]

Creates a multiple-selection <select> tag.


N
name [Eliom_registration.TMPL_PARAMS]
nativeint [Eliom_form_sigs.S]
neopt [Eliom_parameter_sigs.S]

The combinator neopt p allows defining an optional parameter assumed to be None if empty.

new_elt_id [Eliom_content.Html.Id]

The function new_elt_id () creates a new global HTML element identifier (see the Eliom manual for more information on global element).

new_elt_id [Eliom_content.Svg.Id]

The function new_elt_id () creates a new HTML5 element identifier.

node [Eliom_content.Html.R]

node s produces an 'a elt out of the shared reactive signal s.

node [Eliom_content.Html.C]

node e is a server-side node corresponding to the client-side node e .

node [Eliom_content.Svg.C]

node e is a server-side node corresponding to the client-side node e .

node [Eliom_content.Svg.R]

node s produces an 'a elt out of the shared reactive signal s.

notify [Eliom_notif.S]

Call notify key n to send a notification n to all clients currently listening on data referenced by key.


O
ocaml [Eliom_parameter_sigs.S]

ocaml s tells that the service is expecting some caml (client side) program to send some value of type 'a, marshaled.

of_json [Eliom_lib]
of_react [Eliom_react.S.Down]
of_react [Eliom_react.Down]

of_react ?scope ?throttling ?name e create an asynchronous edge originating from e.

opt [Eliom_parameter_sigs.S]

The combinator opt p allows defining optional parameters.


P
parse_config [Eliom_config]

Process the configuration (same as the one returned by get_config ) by a given specification (cf.

pcdata [Eliom_content.Html.R]

pcdata s produces a node of type [> Html_types.span] elt out of the string signal s.

pcdata [Eliom_content.Svg.R]

pcdata is not implemented reactively for SVG.

persistent_data_group_state [Eliom_state.Ext]

Same for persistent data

persistent_data_state_status [Eliom_state]
post_form [Eliom_form_sigs.S]

The function post_form service formgen post_params creates a POST <form> to service preapplied to the POST parameters post_params.

preapply [Eliom_service_sigs.S]

The function preapply ~service parameters creates a new service by preapplying service to the GET parameters.

prepare [Eliom_notif.ARG]

prepare f transforms server notifications into client notifications.

prod [Eliom_parameter_sigs.S]

R
radio [Eliom_parameter_sigs.S]

A parameter as radio f s specifies that the service takes an optional argument labeled s, of type f s.

radio [Eliom_form_sigs.S]

Creates a radio <input> tag.

raw_post_data [Eliom_parameter_sigs.S]
reconstruct_relative_url_path [Eliom_uri]

The function reconstruct_relative_url_path src dest returns a path to dest that is relative to src.

regexp [Eliom_parameter]

regexp r d s tells that the service takes a string that matches the regular expression r as parameter, labeled s, and that will be rewritten in d.

register [Eliom_registration_sigs.S_poly]
register [Eliom_registration_sigs.S]

The function register ~service handler associates the service to the function handler.

register_eliom_extension [Eliom_extension]
register_eliom_module [Eliom_service]

The function register_eliom_module mod f is used to register the initialization function f to be executed when then module mod is loaded by Ocsigen server.

reload_action [Eliom_service_sigs.S]

The service reload_action is a predefined non-attached action with special behaviour: it has no parameter at all, even non-attached parameters.

reload_action_hidden [Eliom_service_sigs.S]

Like Eliom_service_sigs.S.reload_action, but keeps non-attached GET parameters.

reload_action_https [Eliom_service_sigs.S]

Like Eliom_service_sigs.S.reload_action, but forces HTTPS

reload_action_https_hidden [Eliom_service_sigs.S]
remove_persistent_data [Eliom_state.Ext.Low_level]
remove_volatile_data [Eliom_state.Ext.Low_level]
request_scope [Eliom_common]
result_of_http_result [Eliom_registration_sigs.PARAM]

S
scope_hierarchy_of_user_scope [Eliom_common]
section [Eliom_comet]
section [Eliom_parameter_sigs]
select [Eliom_form_sigs.S]

Creates a <select> tag.

send [Eliom_registration.Redirection]

More polymorphic version of Eliom_registration_sigs.send

send [Eliom_registration_sigs.S_poly_with_create_with_send]
send [Eliom_registration_sigs.S_poly_with_send]
send [Eliom_registration_sigs.S]

The function send page builds the HTTP frame corresponding to page.

send [Eliom_registration_sigs.PARAM_POLY]
send [Eliom_registration_sigs.PARAM]
send_appl_content [Eliom_registration_sigs.PARAM_POLY]

See Eliom_reg_sigs.PARAM.send_appl_content.

send_appl_content [Eliom_registration_sigs.PARAM]

Whether the service is capable of sending application content when required.

server_function [Eliom_client]

server_function argument_type f creates a value of type Eliom_client.server_function .

service_group_state [Eliom_state.Ext]

Same for services

service_state_status [Eliom_state]
set [Eliom_reference.Ext]
set [Eliom_reference.Volatile.Ext]
set [Eliom_reference.Volatile]
set [Eliom_reference]

The function set eref v set v as current value of the Eliom reference eref.

set [Eliom_parameter_sigs.S]

Use this if you want your service to take several parameters with the same name.

set_cookie [Eliom_state]

Ask the browser to record a cookie.

set_default_global_persistent_data_state_timeout [Eliom_state]
set_default_global_service_state_timeout [Eliom_state]
set_default_global_volatile_data_state_timeout [Eliom_state]
set_default_links_xhr [Eliom_config]

The provided value serves as a default value for the optional parameter ~xhr in the functions Eliom_registration.*.{a, get_form, post_form, lwt_get_form, lwt_post_form} (cf.

set_default_max_persistent_data_sessions_per_group [Eliom_state]

Sets the maximum number of persistent data sessions in a session group (see above).

set_default_max_persistent_data_tab_sessions_per_group [Eliom_state]

Sets the maximum number of persistent data tab sessions in a session group (see above).

set_default_max_service_sessions_per_group [Eliom_state]

Sets the maximum number of service sessions in a session group (see above).

set_default_max_service_sessions_per_subnet [Eliom_state]

Sets the maximum number of service sessions in a subnet (see above).

set_default_max_service_tab_sessions_per_group [Eliom_state]

Sets the maximum number of tab service sessions in a session group (see above).

set_default_max_volatile_data_sessions_per_group [Eliom_state]

Sets the maximum number of volatile data sessions in a session group (see above).

set_default_max_volatile_data_sessions_per_subnet [Eliom_state]

Sets the maximum number of volatile data sessions in a subnet (see above).

set_default_max_volatile_data_tab_sessions_per_group [Eliom_state]

Sets the maximum number of volatile data tab sessions in a session group (see above).

set_default_max_volatile_sessions_per_group [Eliom_state]

Sets the maximum number of volatile sessions (data and service) in a session group (see above).

set_default_max_volatile_sessions_per_subnet [Eliom_state]

Sets the maximum number of volatile sessions (data and service) in a subnet (see above).

set_default_max_volatile_tab_sessions_per_group [Eliom_state]

Sets the maximum number of volatile tab sessions (data and service) in a session group (see above).

set_exn_handler [Eliom_registration]

The set_exn_handler handler allows redefinition of error pages: 404 or any exception during page generation.

set_global [Eliom_syntax]

All client values created between set_global true and set_global false are considered global client values (cf.

set_global_persistent_data_state_timeout [Eliom_state]

Sets the (server side) timeout for persistent states.

set_global_service_state_timeout [Eliom_state]

Sets the (server side) timeout for service states.

set_global_volatile_data_state_timeout [Eliom_state]

Sets the (server side) timeout for volatile (= "in memory") data states.

set_global_volatile_state_timeout [Eliom_state]

Sets the (server side) timeout for volatile (= "in memory") sessions (both service session and volatile data session).

set_ipv4_subnet_mask [Eliom_state]

Sets the mask for subnet (IPV4).

set_ipv6_subnet_mask [Eliom_state]

Sets the mask for subnet (IPV6).

set_max_service_states_for_group_or_subnet [Eliom_state]

Sets the maximum number of service sessions in the current session group (or for the client sub network, if there is no group).

set_max_volatile_data_states_for_group_or_subnet [Eliom_state]

Sets the maximum number of volatile data sessions in the current session group (or for the client sub network, if there is no group).

set_max_volatile_states_for_group_or_subnet [Eliom_state]

Sets the maximum number of volatile sessions (both data and service sessions) in the current group (or for the client sub network, if there is no group).

set_persistent_data [Eliom_state.Ext.Low_level]

Fails with lwt exception Not_found if no data in the table for the cookie.

set_persistent_data_cookie_exp_date [Eliom_state]

Sets the cookie expiration date for the persistent state (see above).

set_persistent_data_cookie_timeout [Eliom_state.Ext]
set_persistent_data_session_group [Eliom_state]

sets the group to which belong the persistent session.

set_persistent_data_state_timeout [Eliom_state]

sets the (server side) timeout for persistent state for current user, in seconds.

set_service_cookie_exp_date [Eliom_state]

Sets the cookie expiration date for the current service state (see above).

set_service_cookie_timeout [Eliom_state.Ext]
set_service_session_group [Eliom_state]

sets the group to which belong the service session.

set_service_state_timeout [Eliom_state]

sets the timeout for service state (server side) for current user, in seconds.

set_volatile_data [Eliom_state.Ext.Low_level]
set_volatile_data_cookie_exp_date [Eliom_state]

Sets the cookie expiration date for the current data state (see above).

set_volatile_data_cookie_timeout [Eliom_state.Ext]
set_volatile_data_session_group [Eliom_state]

sets the group to which belong the volatile data session.

set_volatile_data_state_timeout [Eliom_state]

sets the (server side) timeout for volatile data state for current user, in seconds.

signal [Eliom_shared_sigs.RLIST]
singleton_s [Eliom_shared_sigs.RLIST]
site_scope [Eliom_common]
sp [Eliom_types]
static_dir [Eliom_service_sigs.S]

The predefined service static_dir allows one to create links to static files.

static_dir_with_params [Eliom_service_sigs.S]

Like Eliom_service_sigs.S.static_dir, but allows one to put GET parameters

stream [Eliom_bus]

stream b returns the stream of data sent to bus b.

string [Eliom_parameter_sigs.S]

string s means that the service takes a string as the parameter named s.

string [Eliom_form_sigs.S]
string_escape [Eliom_lib]
string_radio_required [Eliom_form_sigs.S]
structure_links [Eliom_tools.HTML5_TOOLS]

The function structure_links site () returns the tags <link rel="subsection" ...> and <link rev="subsection" ...> for the given hierarchical site.

suffix [Eliom_parameter_sigs.S]

Tells that the parameter of the service handler is the suffix of the URL of the current service.

suffix_const [Eliom_parameter_sigs.S]

suffix_const v is used only inside suffixes.

suffix_prod [Eliom_parameter_sigs.S]

Tells that the function that will generate the service takes a pair whose first element is the suffix of the URL of the current service, and the second element corresponds to other (regular) parameters.

sum [Eliom_parameter_sigs.S]

The combinator sum p1 p2 allows one to define service that expect either the parameter p1 or the parameter p2.

switch [Eliom_shared_sigs.S]
synced [Eliom_shared.ReactiveData.RList]

If synced l is true, then the server-side and client-side values of l are equal.

synced [Eliom_shared.React.S]

If synced s is true, then the server-side and client-side values of s are equal.


T
textarea [Eliom_form_sigs.S]

Creates a <textarea> tag

to_json [Eliom_lib]
to_react [Eliom_react.Up]

to_react e injects the up events e into react events so that it can be manipulated as a standard event.

to_signal [Eliom_shared]

to_signal ~init s converts the Lwt-wrapped signal s into a regular signal with initial value init.

transform_global_app_uri [Eliom_registration]

Function to modify the global_app URI for some obscure reason

type_checker [Eliom_parameter]

Specifying parameter as type_checker check t is equivalent as t but the check function is called after decoding the parameters, allowing you to make more checks on the parameters before the service handler is called.


U
unit [Eliom_parameter_sigs.S]

Specifying parameter as unit is used for services that don't have any parameters

unlisten [Eliom_notif.S.Ext]

Make a listener stop listening on data key.

unlisten [Eliom_notif.S]

Stop listening on data key

unregister [Eliom_service]

The function unregister service unregister the service handler previously associated to service with Eliom_registration.Html.register, Eliom_registration.App.register or any other Eliom_registration.*.register functions.

unset [Eliom_reference.Ext]
unset [Eliom_reference.Volatile.Ext]
unset [Eliom_reference.Volatile]
unset [Eliom_reference]

The function unset eref reset the content of the Eliom reference eref to its initial value.

unset_cookie [Eliom_state]

Ask the browser to remove a cookie.

unset_persistent_data_cookie_timeout [Eliom_state.Ext]
unset_persistent_data_session_group [Eliom_state]

Remove the session from its group.

unset_persistent_data_state_timeout [Eliom_state]

remove the persistent state timeout for current user (and turn back to the default).

unset_service_cookie_timeout [Eliom_state.Ext]
unset_service_session_group [Eliom_state]

Remove the session from its group.

unset_service_state_timeout [Eliom_state]

remove the service state timeout for current user (and turn back to the default).

unset_volatile_data_cookie_timeout [Eliom_state.Ext]
unset_volatile_data_session_group [Eliom_state]

Remove the session from its group.

unset_volatile_data_state_timeout [Eliom_state]

remove the "volatile data" state timeout for current user (and turn back to the default).

update [Eliom_registration.TMPL_PARAMS]
uri_of_string [Eliom_form_sigs.LINKS]

The function uri_of_string f returns a URI whose content is equivalent to f ().

user [Eliom_form_sigs.S]
user_type [Eliom_parameter]

user_type ~of_string ~to_string s construct a parameter, labeled s, such that the server will have to use of_string and to_string to make the conversion between the OCaml representation of the parameter and it's representation as a string.


V
value [Eliom_shared_sigs.RLIST]
value [Eliom_shared_sigs.S]
volatile_data_group_state [Eliom_state.Ext]

volatile_data_group_state ~scope n returns the state corresponding to the group named n in scope scope.

volatile_data_state_status [Eliom_state]

W
wait_timeout [Eliom_comet.Channel]

wait_timeout ~scope time waits for a period of inactivity of length time in the scope.

with_css_file [Eliom_tools]

Record an CSS file to be included in Eliom_tools.F.html.

with_js_file [Eliom_tools]

Record an (external) JavaScript file to be included in Eliom_tools.F.html.

wrap [Eliom_wrap]
wrap [Eliom_content.Xml]

Eliom_content.Xml.wrap page v is like Eliom_wrap.wrap v but it makes sure that all elts in v which are included in page are sent with empty content.

wrap_handler [Eliom_tools]

This function allows one to wrap a service handler easily depending on whether certain information is available or not.

write [Eliom_bus]

write b x sends the value x on the bus b.