Module Sihl_http.ServiceSource

Sourcemodule Core = Sihl_core
include Core.Container.Service.Sig
Sourceval start_server : Core.Ctx.t -> unit Lwt.t

Start a HTTP server.

This Lwt.t resolves immediately and the web server starts in the background. The web server serves the registered routes.

configure endpoints configuration service creates an HTTP server with endpoints and configuration.