This file is indexed.

/usr/share/doc/libocsigen-ocaml-doc/html/api/Eliom_mkreg.ELIOMREGSIG1.html is in libocsigen-ocaml-doc 1.3.4-2build4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Eliom_mkreg.REGCREATE.html">
<link rel="next" href="Eliom_mkreg.ELIOMREGSIG.html">
<link rel="Up" href="Eliom_mkreg.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Eliom_mkforms" rel="Chapter" href="Eliom_mkforms.html">
<link title="Eliom_mkreg" rel="Chapter" href="Eliom_mkreg.html">
<link title="Eliom_predefmod" rel="Chapter" href="Eliom_predefmod.html">
<link title="Eliom_common" rel="Chapter" href="Eliom_common.html">
<link title="Eliom_parameters" rel="Chapter" href="Eliom_parameters.html">
<link title="Eliom_services" rel="Chapter" href="Eliom_services.html">
<link title="Eliom_sessions" rel="Chapter" href="Eliom_sessions.html">
<link title="Eliom_extensions" rel="Chapter" href="Eliom_extensions.html">
<link title="Ocsigen_extensions" rel="Chapter" href="Ocsigen_extensions.html">
<link title="Ocsigen_parseconfig" rel="Chapter" href="Ocsigen_parseconfig.html">
<link title="Ocsigen_server" rel="Chapter" href="Ocsigen_server.html">
<link title="Xhtmlpretty_streams" rel="Chapter" href="Xhtmlpretty_streams.html">
<link title="Xhtmlcompact_streams" rel="Chapter" href="Xhtmlcompact_streams.html">
<link title="Xhtmlpretty" rel="Chapter" href="Xhtmlpretty.html">
<link title="Xhtmlcompact" rel="Chapter" href="Xhtmlcompact.html">
<link title="XHTML" rel="Chapter" href="XHTML.html">
<link title="Ocsigen_messages" rel="Chapter" href="Ocsigen_messages.html">
<link title="Ocsigen_headers" rel="Chapter" href="Ocsigen_headers.html">
<link title="Ocsigen_http_client" rel="Chapter" href="Ocsigen_http_client.html">
<link title="Ocsigen_http_frame" rel="Chapter" href="Ocsigen_http_frame.html">
<link title="Ocsigen_http_com" rel="Chapter" href="Ocsigen_http_com.html">
<link title="Ocsigen_charset_mime" rel="Chapter" href="Ocsigen_charset_mime.html">
<link title="Ocsigen_senders" rel="Chapter" href="Ocsigen_senders.html">
<link title="Ocsigen_stream" rel="Chapter" href="Ocsigen_stream.html">
<link title="Eliom_tools_common" rel="Chapter" href="Eliom_tools_common.html">
<link title="Eliom_tools" rel="Chapter" href="Eliom_tools.html">
<link title="Eliom_obrowser" rel="Chapter" href="Eliom_obrowser.html">
<link title="Polytables" rel="Chapter" href="Polytables.html">
<link title="Ocsigen_cache" rel="Chapter" href="Ocsigen_cache.html">
<link title="Ocsipersist" rel="Chapter" href="Ocsipersist.html">
<link title="Authbasic" rel="Chapter" href="Authbasic.html">
<link title="Ocsigen_LocalFiles" rel="Chapter" href="Ocsigen_LocalFiles.html">
<link title="Ocsigen_getcommandline" rel="Chapter" href="Ocsigen_getcommandline.html">
<link title="Simplexmlparser" rel="Chapter" href="Simplexmlparser.html">
<link title="Xhtmltypes" rel="Chapter" href="Xhtmltypes.html">
<link title="Eliom_duce" rel="Chapter" href="Eliom_duce.html">
<link title="Xhtmltypes_duce" rel="Chapter" href="Xhtmltypes_duce.html">
<link title="Eliom_duce_tools" rel="Chapter" href="Eliom_duce_tools.html"><title>Eliom_mkreg.ELIOMREGSIG1</title>
</head>
<body>
<div class="navbar"><a href="Eliom_mkreg.REGCREATE.html">Previous</a>
&nbsp;<a href="Eliom_mkreg.html">Up</a>
&nbsp;<a href="Eliom_mkreg.ELIOMREGSIG.html">Next</a>
</div>
<center><h1>Module type <a href="type_Eliom_mkreg.ELIOMREGSIG1.html">Eliom_mkreg.ELIOMREGSIG1</a></h1></center>
<br>
<pre><span class="keyword">module type</span> ELIOMREGSIG1 = <code class="code">sig</code> <a href="Eliom_mkreg.ELIOMREGSIG1.html">..</a> <code class="code">end</code></pre><hr width="100%">
<pre><span id="TYPEpage"><span class="keyword">type</span> <code class="type"></code>page</span> </pre>

<pre><span id="TYPEoptions"><span class="keyword">type</span> <code class="type"></code>options</span> </pre>

<pre><span id="VALsend"><span class="keyword">val</span> send</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> -> <a href="Ocsigen_http_frame.html#TYPEresult">Ocsigen_http_frame.result</a> Lwt.t</code></pre><pre><span id="VALregister"><span class="keyword">val</span> register</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       service:('a, 'b, [< <a href="Eliom_services.html#TYPEinternal_service_kind">Eliom_services.internal_service_kind</a> ],<br>                [< <a href="Eliom_services.html#TYPEsuff">Eliom_services.suff</a> ], 'c, 'd, [ `Registrable ])<br>               <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> 'b -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       unit</code></pre><div class="info">
registers an service in the public service table
   with the associated handler function.
   <code class="code">register service t f</code> will associate the service <code class="code">service</code>
   to the function <code class="code">f</code>.
   <code class="code">f</code> is the function that creates a page, called <em>service handler</em>.
<p>

   That function takes three parameters.<ul>
<li>The first one has type <code class="code">Eliom_sessions.server_params</code>
   and allows to have acces to informations about the request and the session.</li>
<li>The second and third ones are respectively GET and POST parameters.</li>
</ul>

   For example if <code class="code">t</code> is <code class="code">Eliom_parameters.int "s"</code>, then <code class="code"> 'get</code> is <code class="code">int</code>.
<p>

    <em>Warning: If you want to register a service in the global table
    after the initialisation phase,
    you must give the <code class="code">~sp</code> parameter, otherwise it will raise the
    exception <a href="Eliom_common.html#EXCEPTIONEliom_function_forbidden_outside_site_loading"><code class="code">Eliom_common.Eliom_function_forbidden_outside_site_loading</code></a>.</em>
<p>

   Registering services and coservices is always done in memory as there is
   no means of marshalling closures.
<p>

    Registering after initialization is not encouraged for coservices
    without timeout, as such services will be available only until the end
    of the server process!
    If you use that for main services, you will dynamically create new URLs!
    This may be dangerous as they will disappear if you stop the server.
    Be very careful to re-create these URLs when you relaunch the server,
    otherwise, some external links or bookmarks may be broken!
<p>

    Some output modules (for example Redirectmod) define their own options
    for that function.
    Use the <code class="code">?options</code> parameter to set them.<br>
</div>
<pre><span id="VALregister_for_session"><span class="keyword">val</span> register_for_session</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?session_name:string -><br>       ?secure:bool -><br>       sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       service:('a, 'b, [< <a href="Eliom_services.html#TYPEinternal_service_kind">Eliom_services.internal_service_kind</a> ],<br>                [< <a href="Eliom_services.html#TYPEsuff">Eliom_services.suff</a> ], 'c, 'd, [ `Registrable ])<br>               <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> 'b -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       unit</code></pre><div class="info">
registers a handler for a service in the session table.
    If the same client does a request to this service, this function will be
    used instead of the one from the public table.
<p>

    Warning:<ul>
<li>All main services created during initialization must be
    registered in the public table during initialisation,
    but never after,</li>
<li>You can't register a service in a session table
    when no session is active (i.e. outside a service handler, 
    when you do not have sp)</li>
</ul>

    <code class="code">?session_name</code> is the name of the session, if you want several
    service sessions on the same site.
<p>

    If <code class="code">~secure</code> is false when the protocol is https, the service will be 
    registered in the unsecure session, 
    otherwise in the secure session with https, the unsecure one with http.
    (Secure session means that Eliom will ask the browser to send the cookie
    only through HTTPS).
<p>

    Note that in the case of CSRF safe coservices, parameters
    <code class="code">?session_name</code> and <code class="code">?secure</code> must match exactly the session name
    and secure option specified while creating the CSRF safe service. 
    Otherwise, the registration will fail
    with <br>
</div>
<pre><span id="VALregister_new_service"><span class="keyword">val</span> register_new_service</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?https:bool -><br>       path:Ocsigen_lib.url_path -><br>       get_params:('a, [< <a href="Eliom_services.html#TYPEsuff">Eliom_services.suff</a> ] as 'b, 'c)<br>                  <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> unit -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, unit,<br>        [> `Attached of<br>             [> `Internal of [> `Service ] * [> `Get ] ] <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>        'b, 'c, unit, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_service</code> followed by <code class="code">register</code><br>
</div>
<pre><span id="VALregister_new_coservice"><span class="keyword">val</span> register_new_coservice</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?csrf_session_name:string -><br>       ?csrf_secure_session:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?https:bool -><br>       fallback:(unit, unit,<br>                 [ `Attached of<br>                     [ `Internal of [ `Service ] * [ `Get ] ] <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>                 [ `WithoutSuffix ], unit, unit, [< <a href="Eliom_services.html#TYPEregistrable">Eliom_services.registrable</a> ])<br>                <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a> -><br>       get_params:('a, [ `WithoutSuffix ], 'b) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> unit -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, unit,<br>        [> `Attached of<br>             [> `Internal of [> `Coservice ] * [> `Get ] ] <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>        [ `WithoutSuffix ], 'b, unit, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_coservice</code> followed by <code class="code">register</code><br>
</div>
<pre><span id="VALregister_new_coservice'"><span class="keyword">val</span> register_new_coservice'</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?csrf_session_name:string -><br>       ?csrf_secure_session:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?https:bool -><br>       get_params:('a, [ `WithoutSuffix ], 'b) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> unit -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, unit, [> `Nonattached of [> `Get ] <a href="Eliom_services.html#TYPEna_s">Eliom_services.na_s</a> ],<br>        [ `WithoutSuffix ], 'b, unit, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_coservice'</code> followed by <code class="code">register</code><br>
</div>
<pre><span id="VALregister_new_coservice_for_session"><span class="keyword">val</span> register_new_coservice_for_session</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?session_name:string -><br>       ?secure:bool -><br>       sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?https:bool -><br>       fallback:(unit, unit,<br>                 [ `Attached of<br>                     [ `Internal of [ `Service ] * [ `Get ] ] <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>                 [ `WithoutSuffix ], unit, unit, [< <a href="Eliom_services.html#TYPEregistrable">Eliom_services.registrable</a> ])<br>                <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a> -><br>       get_params:('a, [ `WithoutSuffix ], 'b) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> unit -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, unit,<br>        [> `Attached of<br>             [> `Internal of [> `Coservice ] * [> `Get ] ] <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>        [ `WithoutSuffix ], 'b, unit, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_coservice</code> followed by <code class="code">register_for_session</code><br>
</div>
<pre><span id="VALregister_new_coservice_for_session'"><span class="keyword">val</span> register_new_coservice_for_session'</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?session_name:string -><br>       ?secure:bool -><br>       sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?https:bool -><br>       get_params:('a, [ `WithoutSuffix ], 'b) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> unit -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, unit, [> `Nonattached of [> `Get ] <a href="Eliom_services.html#TYPEna_s">Eliom_services.na_s</a> ],<br>        [ `WithoutSuffix ], 'b, unit, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_coservice'</code> followed by <code class="code">register_for_session</code><br>
</div>
<pre><span id="VALregister_new_post_service"><span class="keyword">val</span> register_new_post_service</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?https:bool -><br>       fallback:('a, unit,<br>                 [ `Attached of<br>                     [ `Internal of [ `Coservice | `Service ] * [ `Get ] ]<br>                     <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>                 [< <a href="Eliom_services.html#TYPEsuff">Eliom_services.suff</a> ] as 'b, 'c, unit, [< `Registrable ])<br>                <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a> -><br>       post_params:('d, [ `WithoutSuffix ], 'e) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> 'd -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, 'd,<br>        [> `Attached of<br>             [> `Internal of [ `Coservice | `Service ] * [> `Post ] ]<br>             <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>        'b, 'c, 'e, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_post_service</code> followed by <code class="code">register</code><br>
</div>
<pre><span id="VALregister_new_post_coservice"><span class="keyword">val</span> register_new_post_coservice</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?csrf_session_name:string -><br>       ?csrf_secure_session:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?https:bool -><br>       fallback:('a, unit,<br>                 [ `Attached of<br>                     [ `Internal of [< `Coservice | `Service ] * [ `Get ] ]<br>                     <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>                 [< <a href="Eliom_services.html#TYPEsuff">Eliom_services.suff</a> ] as 'b, 'c, unit, [< `Registrable ])<br>                <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a> -><br>       post_params:('d, [ `WithoutSuffix ], 'e) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> 'd -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, 'd,<br>        [> `Attached of<br>             [> `Internal of [> `Coservice ] * [> `Post ] ] <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>        'b, 'c, 'e, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_post_coservice</code> followed by <code class="code">register</code><br>
</div>
<pre><span id="VALregister_new_post_coservice'"><span class="keyword">val</span> register_new_post_coservice'</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?csrf_session_name:string -><br>       ?csrf_secure_session:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?keep_get_na_params:bool -><br>       ?https:bool -><br>       post_params:('a, [ `WithoutSuffix ], 'b) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        unit -> 'a -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (unit, 'a, [> `Nonattached of [> `Post ] <a href="Eliom_services.html#TYPEna_s">Eliom_services.na_s</a> ],<br>        [ `WithoutSuffix ], unit, 'b, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_post_coservice'</code> followed by <code class="code">register</code><br>
</div>
<pre><span id="VALregister_new_post_coservice_for_session"><span class="keyword">val</span> register_new_post_coservice_for_session</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?session_name:string -><br>       ?secure:bool -><br>       sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?https:bool -><br>       fallback:('a, unit,<br>                 [ `Attached of<br>                     [ `Internal of [< `Coservice | `Service ] * [ `Get ] ]<br>                     <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>                 [< <a href="Eliom_services.html#TYPEsuff">Eliom_services.suff</a> ] as 'b, 'c, unit, [ `Registrable ])<br>                <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a> -><br>       post_params:('d, [ `WithoutSuffix ], 'e) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        'a -> 'd -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       ('a, 'd,<br>        [> `Attached of<br>             [> `Internal of [> `Coservice ] * [> `Post ] ] <a href="Eliom_services.html#TYPEa_s">Eliom_services.a_s</a> ],<br>        'b, 'c, 'e, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_post_coservice</code> followed by <code class="code">register_for_session</code><br>
</div>
<pre><span id="VALregister_new_post_coservice_for_session'"><span class="keyword">val</span> register_new_post_coservice_for_session'</span> : <code class="type">?options:<a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEoptions">options</a> -><br>       ?cookies:<a href="Eliom_services.html#TYPEcookie">Eliom_services.cookie</a> list -><br>       ?charset:string -><br>       ?code:int -><br>       ?content_type:string -><br>       ?headers:Http_headers.t -><br>       ?session_name:string -><br>       ?secure:bool -><br>       sp:<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>       ?name:string -><br>       ?csrf_safe:bool -><br>       ?max_use:int -><br>       ?timeout:float -><br>       ?keep_get_na_params:bool -><br>       ?https:bool -><br>       post_params:('a, [ `WithoutSuffix ], 'b) <a href="Eliom_parameters.html#TYPEparams_type">Eliom_parameters.params_type</a> -><br>       ?error_handler:(<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>                       (string * exn) list -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (<a href="Eliom_sessions.html#TYPEserver_params">Eliom_sessions.server_params</a> -><br>        unit -> 'a -> <a href="Eliom_mkreg.ELIOMREGSIG1.html#TYPEpage">page</a> Lwt.t) -><br>       (unit, 'a, [> `Nonattached of [> `Post ] <a href="Eliom_services.html#TYPEna_s">Eliom_services.na_s</a> ],<br>        [ `WithoutSuffix ], unit, 'b, [> `Registrable ])<br>       <a href="Eliom_services.html#TYPEservice">Eliom_services.service</a></code></pre><div class="info">
Same as <code class="code">new_post_coservice'</code> followed by <code class="code">register_for_session</code><br>
</div>
</body></html>