`sig
exception FCGI_error of string * exn
type fcgiHeader = {
version : int;
rtype : int;
requestid : int;
contentlen : int;
padlen : int;
}
type fcgiBeginRequestBody = { role : int; flags : int; }
type fcgiEndRequestBody = { astatus : int; pstatus : int; }
type fcgiRequest = {
id : int;
app_type : int;
params : (string * string) list;
stdin : string;
data : string;
con : Unix.file_descr;
}
val fcgi_accept : unit -> Netcgi_fcgi_10.fcgiRequest
val fcgi_destroy : Netcgi_fcgi_10.fcgiRequest -> unit
val fcgi_write_stdout : Netcgi_fcgi_10.fcgiRequest -> string -> unit
val fcgi_write_stderr : Netcgi_fcgi_10.fcgiRequest -> string -> unit
val fcgi_write_end_request :
Netcgi_fcgi_10.fcgiRequest -> Netcgi_fcgi_10.fcgiEndRequestBody -> unit
end`