package current_web

  1. Overview
  2. Docs
module User : sig ... end
module Role : sig ... end
module Site : sig ... end
module Context : sig ... end
module Resource : sig ... end

routes engine is the default routes for a web interface to engine.

type t = {
  1. host : string option;
  2. port : Conduit_lwt_unix.server;
}
val run : ?mode:t -> Site.t -> ('a, [ `Msg of string ]) result Lwt.t

run ~mode site runs a web-server (with configuration mode) that handles incoming requests for site.

val cmdliner : t Cmdliner.Term.t
OCaml

Innovation. Community. Security.