Module Simple_httpd.HtmlSource

HTML: generated by chaml and vfs_pack

Sourcemodule type Output = sig ... end

Module type for filling an input buffer by printing. A module of this type is openned in <ML> section of .chaml file when using vfs_pack.

Sourcetype elt = (module Output) -> unit

type of html elements as string

Sourcetype chaml = string Request.t -> Headers.t -> Headers.t * Cookies.t * Input.t

type of a chaml page, as generated by chaml preprocessor and to be given as argument to Simple_httpd.Server.add_route_handler_chaml