package dream-httpaf

  1. Overview
  2. Docs
include Gluten_lwt.Server with type socket = [ `Tls_not_available ] and type addr = Unix.sockaddr
type socket = [
  1. | `Tls_not_available
]
type addr = Unix.sockaddr
val create_upgradable_connection_handler : read_buffer_size:int -> protocol:'t Gluten.runtime -> create_protocol:(('reqd -> unit) -> 't) -> request_handler:(addr -> 'reqd Gluten.Server.request_handler) -> addr -> socket -> unit Lwt.t
val create_connection_handler : read_buffer_size:int -> protocol:'t Gluten.runtime -> 't -> addr -> socket -> unit Lwt.t
val create_default : ?alpn_protocols:string list -> certfile:string -> keyfile:string -> Unix.sockaddr -> Lwt_unix.file_descr -> socket Lwt.t
OCaml

Innovation. Community. Security.