package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val lifecycle : Sihl__.Core_container.Lifecycle.t
val register_endpoints : (string * Sihl__.Web_route.t list * Sihl__.Web_middleware_core.t Base.list) list -> unit

Register HTTP routes that are served by the web server.

val 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.

OCaml

Innovation. Community. Security.