package sihl

  1. Overview
  2. Docs

Module Http.ServiceSource

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.