package piaf

  1. Overview
  2. Docs

Parameters

Signature

type socket = Server_runtime.socket
val create_connection_handler : ?config:Httpaf.Config.t -> request_handler:(Server_runtime.addr -> Httpaf.Reqd.t Gluten.reqd -> unit) -> error_handler:(Server_runtime.addr -> Httpaf.Server_connection.error_handler) -> Server_runtime.addr -> socket -> unit Lwt.t
OCaml

Innovation. Community. Security.