Module Model.Cgi


module Cgi: sig .. end
A basic CGI module, where HTML documents are strings, and the callback variable name is "callback".

type callback = Env.cgi_env -> Html.html 
type cookie_callback = Env.cgi_env -> Html.html * Model.cookie_action list 
val register : string -> callback -> unit
val cookie_register : string -> cookie_callback -> unit
val main : default:cookie_callback -> unit