package sihl

  1. Overview
  2. Docs

Source file contract_http.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
exception Exception of string

let name = "http"

module type Sig = sig
  val register
    :  ?not_found_handler:
         (Opium.Request.t -> (Opium.Headers.t * Opium.Body.t) Lwt.t)
    -> ?middlewares:Rock.Middleware.t list
    -> Web.router
    -> Core_container.Service.t

  val log_src : Logs.src

  include Core_container.Service.Sig
end
OCaml

Innovation. Community. Security.