package paf-le

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

type nonrec configuration = configuration = {
  1. email : Emile.mailbox option;
  2. certificate_seed : string option;
  3. certificate_key_type : X509.Key_type.t;
  4. certificate_key_bits : int option;
  5. hostname : [ `host ] Domain_name.t;
  6. account_seed : string option;
  7. account_key_type : X509.Key_type.t;
  8. account_key_bits : int option;
}
val request_handler : (Ipaddr.t * int) -> Httpaf.Server_connection.request_handler
val provision_certificate : ?tries:int -> ?production:bool -> configuration -> Mimic.ctx -> (Tls.Config.own_cert, [> `Msg of string ]) Stdlib.result Lwt.t
val ctx : gethostbyname: ('dns -> [ `host ] Domain_name.t -> (Ipaddr.t, [> `Msg of string ]) Stdlib.result Lwt.t) -> authenticator:X509.Authenticator.t -> 'dns -> Stack.t -> Mimic.ctx
val with_uri : Uri.t -> Mimic.ctx -> Mimic.ctx