package dream-httpaf

  1. Overview
  2. Docs
include H2_lwt.Server with type socket = Gluten_lwt_unix.Server.TLS.socket and type addr := Unix.sockaddr
val create_connection_handler : ?config:H2.Config.t -> request_handler:(Unix.sockaddr -> H2.Server_connection.request_handler) -> error_handler:(Unix.sockaddr -> H2.Server_connection.error_handler) -> Unix.sockaddr -> socket -> unit Lwt.t
val create_connection_handler_with_default : certfile:string -> keyfile:string -> ?config:H2.Config.t -> request_handler:(Unix.sockaddr -> H2.Server_connection.request_handler) -> error_handler:(Unix.sockaddr -> H2.Server_connection.error_handler) -> Unix.sockaddr -> Lwt_unix.file_descr -> unit Lwt.t
OCaml

Innovation. Community. Security.