package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val register_endpoints : (string * Http.Route.t list * Middleware.stack) 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.