package piaf

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

Innovation. Community. Security.