Ocsigen_cohttpexception Ocsigen_http_error of Ocsigen_cookie_map.t * Cohttp.Code.statusException raised by exceptions to describe an HTTP error. It is possible to pass the code of the error, an optional comment, and optionally some headers.
exception Ocsigen_is_dir of Ocsigen_request.t -> Uri.tcompute a redirection if path links to a directory
accessor to get number of client (used by eliom monitoring)
val service :
?ssl:(string * string * (bool -> string) option) ->
address:Ocsigen_config.socket_type ->
port:int ->
connector:(Ocsigen_request.t -> Ocsigen_response.t Lwt.t) ->
unit ->
unit Lwt.tinitialize a main loop of http server