Ocsigen_cohttpSourceException 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.
compute a redirection if path links to a directory
accessor to get number of client (used by eliom monitoring)
Shutdown main loop of server
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