Module Sihl__.Web_http

include Sihl__.Contract_http
exception Exception of string
val name : string
module type Sig = sig ... end
val to_opium_builder : (Sihl.Web.meth * string * Rock.Handler.t) -> Opium.App.builder
val routers_to_opium_builders : Sihl.Web.router list -> Opium.App.builder list
val log_src : Logs.src
module Logs : Logs.LOG
type config = {
port : int option;
}
val config : int option -> config
val schema : (string, int option -> configconfig) Conformist.t
val registered_router : Sihl.Web.router option Stdlib.ref
val registered_middlewares : Rock.Middleware.t list Stdlib.ref
val registered_not_found_handler : (Opium__.Request.t -> (Opium__.Headers.t * Opium__.Body.t) Lwt.t) option Stdlib.ref
val started_server : Lwt_io.server option Stdlib.ref
val start_server : unit -> unit Lwt.t
val routes_cmd : Sihl__.Core_command.t
val start : unit -> unit Lwt.t
val stop : unit -> unit Lwt.t
val lifecycle : Sihl__.Core_container.lifecycle
val register : ?⁠not_found_handler:(Opium__.Request.t -> (Opium__.Headers.t * Opium__.Body.t) Lwt.t) -> ?⁠middlewares:Rock.Middleware.t list -> Sihl.Web.router -> Sihl__.Core_container.Service.t