Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Gluten_lwt.Server
with type socket = [ `Tls_not_available ]
and 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