This is server API (go to client)

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_cookie [Eliom_cookie]

The function add_cookie path c v cookie_table adds the cookie c to the table cookie_table.

add_cookies [Eliom_cookie]

The functionadd_cookies newcookies oldcookies adds the cookies from newcookies to oldcookies.

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.