package dream

  1. Overview
  2. Docs
include Gluten_lwt.Server with type socket = Lwt_ssl.socket and type addr = Unix.sockaddr
type socket = Lwt_ssl.socket
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.