[UP] Modules |
WDialog API for Objective Caml: Wd_cycle
Module Wd_cyclemodule Wd_cycle:The scope of the module Wd_cycle is the whole CGI cycle, from the
moment when the CGI request has just arrived until the moment just before
the CGI response is delivered to the client.val process_request :
This is the main function processing requests coming from the browser.
It expects a CGI environment, interprets the CGI variables and performs
one request cycle:
session_manager : The session manager to use. The main task of the
session manager is to encode/decode the CGI variable "uiobject_session".
The default value is Wd_dialog.instant_session_manager .self_url : The URL used in the recursive POST requests. It defaults
to the URL returned by the url method of the cgi_activation object.response_header : The HTTP response header to use. This header
record can be modified while the request is processed (see the
response_header field of the environment record).val make_environment :
Creates an (otherwise empty) environment with the passed CGI
activation object.
|