gluten-async

Async runtime for gluten
IN THIS PACKAGE
Module Gluten_async . Server . SSL
type socket = [
| `Ssl_not_available
]
val create_upgradable_connection_handler : read_buffer_size:int -> protocol:'t Gluten.runtime -> create_protocol:( ( 'reqd -> unit ) -> 't ) -> request_handler: ( Async.Socket.Address.Inet.t -> 'reqd Gluten.Server.request_handler ) -> Async.Socket.Address.Inet.t -> socket -> unit Async.Deferred.t
val create_connection_handler : read_buffer_size:int -> protocol:'t Gluten.runtime -> 't -> Async.Socket.Address.Inet.t -> socket -> unit Async.Deferred.t
val create_default : ?alpn_protocols:string list -> certfile:string -> keyfile:string -> [< Async.Socket.Address.Inet.t ] as 'a -> ( [ `Active ], 'a ) Async.Socket.t -> socket Async.Deferred.t