class type virtual v_extended_environment =An extension ofobject..end
cgi_environment for use with the daemon. The methods
retrieving the socket addresses are virtual.method virtual server_socket_addr : Unix.sockaddrmethod virtual remote_socket_addr : Unix.sockaddrmethod cgi_request_uri : stringmethod log_props : (string * string) list -> unitcgi_properties as the one sent to the
config_log_access functionmethod input_channel : Netchannels.in_obj_channelmethod input_body_size : int64method request_body_rejected : boolmethod send_file : Unix.file_descr -> int64 -> unit
This method may return immediately when it is possible to open the file, and
to set the kernel up for file transmission. Otherwise a Unix_error is
raised. It is also allowed that this method blocks until the file is actually
transmitted.
It is not allowed to print to the output channel and to call send_file.
Only one transmission method must be invoked.
method virtual output_state : output_state Pervasives.ref`Start: Nothing is generated yet`Sending: Output is already being sent`End: The response (for a single request) has been fully sent