package piaf

  1. Overview
  2. Docs
module Service : sig ... end
module Middleware : sig ... end
module Handler : sig ... end
module Error_response : sig ... end
type 'ctx ctx = 'ctx Handler.ctx = {
  1. ctx : 'ctx;
  2. request : Request.t;
}
type 'ctx t = 'ctx Handler.t
val create : ?config:Config.t -> ?error_handler: (Unix.sockaddr -> ?request:Request.t -> respond:(headers:Headers.t -> Body.t -> Error_response.t) -> Httpaf.Server_connection.error -> Error_response.t Lwt.t) -> Unix.sockaddr Handler.t -> Unix.sockaddr -> Httpaf_lwt_unix.Server.socket -> unit Lwt.t
OCaml

Innovation. Community. Security.