Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 07ec4e1006689824c37b6ae5b69626c7 > files > 65

ocsigenserver-doc-2.2.0-5.mga4.noarch.rpm

<!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="Ocsigen_charset_mime.html">
<link rel="next" href="Ocsigen_cookies.html">
<link rel="Up" href="index.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="Ocsigen_cache" rel="Chapter" href="Ocsigen_cache.html">
<link title="Ocsigen_lib_base" rel="Chapter" href="Ocsigen_lib_base.html">
<link title="Ocsigen_lib" rel="Chapter" href="Ocsigen_lib.html">
<link title="Ocsigen_config" rel="Chapter" href="Ocsigen_config.html">
<link title="Ocsigen_getcommandline" rel="Chapter" href="Ocsigen_getcommandline.html">
<link title="Ocsigen_messages" rel="Chapter" href="Ocsigen_messages.html">
<link title="Ocsigen_stream" rel="Chapter" href="Ocsigen_stream.html">
<link title="Ocsigen_loader" rel="Chapter" href="Ocsigen_loader.html">
<link title="Polytables" rel="Chapter" href="Polytables.html">
<link title="Http_headers" rel="Chapter" href="Http_headers.html">
<link title="Ocsigen_http_frame" rel="Chapter" href="Ocsigen_http_frame.html">
<link title="Ocsigen_headers" rel="Chapter" href="Ocsigen_headers.html">
<link title="Framepp" rel="Chapter" href="Framepp.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_cookies" rel="Chapter" href="Ocsigen_cookies.html">
<link title="Ocsigen_extensions" rel="Chapter" href="Ocsigen_extensions.html">
<link title="Ocsigen_parseconfig" rel="Chapter" href="Ocsigen_parseconfig.html">
<link title="Ocsigen_http_client" rel="Chapter" href="Ocsigen_http_client.html">
<link title="Ocsigen_local_files" rel="Chapter" href="Ocsigen_local_files.html">
<link title="Ocsigen_server" rel="Chapter" href="Ocsigen_server.html">
<link title="Ocsigen_comet" rel="Chapter" href="Ocsigen_comet.html">
<link title="Accesscontrol" rel="Chapter" href="Accesscontrol.html">
<link title="Authbasic" rel="Chapter" href="Authbasic.html">
<link title="Ocsipersist" rel="Chapter" href="Ocsipersist.html"><title>Ocsigen_senders</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Ocsigen_charset_mime.html" title="Ocsigen_charset_mime">Previous</a>
&nbsp;<a class="up" href="index.html" title="Index">Up</a>
&nbsp;<a class="post" href="Ocsigen_cookies.html" title="Ocsigen_cookies">Next</a>
</div>
<h1>Module <a href="type_Ocsigen_senders.html">Ocsigen_senders</a></h1>

<pre><span class="keyword">module</span> Ocsigen_senders: <code class="code">sig</code> <a href="Ocsigen_senders.html">..</a> <code class="code">end</code></pre><div class="info module top">
Functions to create results for various kinds of documents<br>
</div>
<hr width="100%">

<pre><span class="keyword">module</span> <a href="Ocsigen_senders.File_content.html">File_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type"> 
  with  type t =
   string * Ocsigen_charset_mime.charset_assoc * Ocsigen_charset_mime.mime_assoc</code></pre>
<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Xhtml_content.html">Xhtml_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type">  with type t = Xhtml.M.doc</code></pre>
<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Html5_content.html">Html5_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type">  with type t = Html5.M.doc</code></pre>
<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Make_XML_Content.html">Make_XML_Content</a>: <div class="sig_block"><code class="code">functor (</code><code class="code">Xml</code><code class="code"> : </code><code class="type">Xml_sigs.Iterable</code><code class="code">) -&gt; </code><div class="sig_block"><code class="code">functor (</code><code class="code">Typed_xml</code><code class="code"> : </code><code class="type">Xml_sigs.Typed_xml</code><code class="type">  with module Xml := Xml</code><code class="code">) -&gt; </code><code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type"> 
  with type t = Typed_xml.doc
  and type options = Http_headers.accept Lazy.t</code></div></div></pre>
<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Text_content.html">Text_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type">  with type t = string * string</code></pre><div class="info">
content * content-type
</div>

<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Stream_content.html">Stream_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type">  with type t = string Ocsigen_stream.t</code></pre>
<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Streamlist_content.html">Streamlist_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type"> 
with type t = (unit -> string Ocsigen_stream.t Lwt.t) list
      * string</code></pre><div class="info">
streams and content-type
</div>

<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Empty_content.html">Empty_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type">  with type t = unit</code></pre>
<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Directory_content.html">Directory_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type">  with type t = string * string list</code></pre><div class="info">
directory name and corresponding URL path
</div>

<pre><span class="keyword">module</span> <a href="Ocsigen_senders.Error_content.html">Error_content</a>: <code class="type"><a href="Ocsigen_http_frame.HTTP_CONTENT.html">Ocsigen_http_frame.HTTP_CONTENT</a></code><code class="type"> 
with type t = int option * exn option * Ocsigen_cookies.cookieset</code></pre><div class="info">
error code and/or exception
</div>

<pre><span id="VALsend_error"><span class="keyword">val</span> send_error</span> : <code class="type">?code:int -><br>       ?exn:exn -><br>       <a href="Ocsigen_http_com.html#TYPEslot">Ocsigen_http_com.slot</a> -><br>       clientproto:<a href="Ocsigen_http_frame.Http_header.html#TYPEproto">Ocsigen_http_frame.Http_header.proto</a> -><br>       ?mode:<a href="Ocsigen_http_frame.Http_header.html#TYPEhttp_mode">Ocsigen_http_frame.Http_header.http_mode</a> -><br>       ?proto:<a href="Ocsigen_http_frame.Http_header.html#TYPEproto">Ocsigen_http_frame.Http_header.proto</a> -><br>       ?cookies:<a href="Ocsigen_cookies.html#TYPEcookieset">Ocsigen_cookies.cookieset</a> -><br>       head:bool -> sender:<a href="Ocsigen_http_com.html#TYPEsender_type">Ocsigen_http_com.sender_type</a> -> unit -> unit Lwt.t</code></pre><div class="info ">
Sending an error page<br>
</div>
</body></html>