Module Current_web

module User : sig ... end
module Role : sig ... end
module Site : sig ... end
module Context : sig ... end
module Resource : sig ... end
val routes : Current.Engine.t -> Resource.t Routes.route list

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

val run : ?⁠mode:Conduit_lwt_unix.server -> Site.t -> ('a[ `Msg of string ]) Stdlib.result Lwt.t

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

val cmdliner : Conduit_lwt_unix.server Cmdliner.Term.t