class type virtual v_extended_environment =object
..end
cgi_environment
for use with the daemon. The methods
retrieving the socket addresses are virtual.method virtual server_socket_addr : Unix.sockaddr
method virtual remote_socket_addr : Unix.sockaddr
method cgi_request_uri : string
method log_props : (string * string) list -> unit
cgi_properties
as the one sent to the
config_log_access
functionmethod input_channel : Netchannels.in_obj_channel
method input_body_size : int64
method request_body_rejected : bool
method 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