package paf

  1. Overview
  2. Docs

Parameters

Signature

type configuration = {
  1. email : Emile.mailbox option;
  2. seed : string option;
  3. certificate_seed : string option;
  4. hostname : [ `host ] Domain_name.t;
}
val request_handler : (Ipaddr.t * int) -> Httpaf.Server_connection.request_handler
val provision_certificate : ?production:bool -> configuration -> Mimic.ctx -> (Tls.Config.own_cert, [> `Msg of string ]) Stdlib.result Lwt.t
val scheme : [ `HTTP | `HTTPS ] Mimic.value
val port : int Mimic.value
val domain_name : [ `host ] Domain_name.t Mimic.value
val ipaddr : Ipaddr.t Mimic.value
val with_uri : Uri.t -> Mimic.ctx -> Mimic.ctx
OCaml

Innovation. Community. Security.