<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 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 class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Netcgi_env" rel="Chapter" href="Netcgi_env.html"> <link title="Netcgi_types" rel="Chapter" href="Netcgi_types.html"> <link title="Netcgi" rel="Chapter" href="Netcgi.html"> <link title="Netcgi_jserv" rel="Chapter" href="Netcgi_jserv.html"> <link title="Netcgi_jserv_ajp12" rel="Chapter" href="Netcgi_jserv_ajp12.html"> <link title="Netcgi_jserv_app" rel="Chapter" href="Netcgi_jserv_app.html"> <link title="Netcgi_fcgi_10" rel="Chapter" href="Netcgi_fcgi_10.html"> <link title="Netcgi_fcgi" rel="Chapter" href="Netcgi_fcgi.html"> <link title="Netcgi1_compat" rel="Chapter" href="Netcgi1_compat.html"><title>Ocamlnet 2 Reference Manual (netcgi1 add-on) : Netcgi_fcgi_10</title> </head> <body> <code class="code"><span class="keyword">sig</span><br> <span class="keyword">exception</span> <span class="constructor">FCGI_error</span> <span class="keyword">of</span> string * exn<br> <span class="keyword">val</span> max_rec_size : int<br> <span class="keyword">type</span> fcgiHeader = {<br> version : int;<br> rtype : int;<br> requestid : int;<br> contentlen : int;<br> padlen : int;<br> }<br> <span class="keyword">type</span> fcgiBeginRequestBody = { role : int; flags : int; }<br> <span class="keyword">type</span> fcgiEndRequestBody = { astatus : int; pstatus : int; }<br> <span class="keyword">type</span> fcgiRequest = {<br> id : int;<br> app_type : int;<br> params : (string * string) list;<br> stdin : string;<br> data : string;<br> con : <span class="constructor">Unix</span>.file_descr;<br> }<br> <span class="keyword">val</span> fcgi_accept : unit <span class="keywordsign">-></span> <span class="constructor">Netcgi_fcgi_10</span>.fcgiRequest<br> <span class="keyword">val</span> fcgi_destroy : <span class="constructor">Netcgi_fcgi_10</span>.fcgiRequest <span class="keywordsign">-></span> unit<br> <span class="keyword">val</span> fcgi_write_stdout : <span class="constructor">Netcgi_fcgi_10</span>.fcgiRequest <span class="keywordsign">-></span> string <span class="keywordsign">-></span> unit<br> <span class="keyword">val</span> fcgi_write_stderr : <span class="constructor">Netcgi_fcgi_10</span>.fcgiRequest <span class="keywordsign">-></span> string <span class="keywordsign">-></span> unit<br> <span class="keyword">val</span> fcgi_write_end_request :<br> <span class="constructor">Netcgi_fcgi_10</span>.fcgiRequest <span class="keywordsign">-></span> <span class="constructor">Netcgi_fcgi_10</span>.fcgiEndRequestBody <span class="keywordsign">-></span> unit<br> <span class="keyword">end</span></code></body></html>