Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a t constraint 'a = [< Async.Socket.Address.t ]
val create :
read_buffer_size:int ->
protocol:'t Gluten.runtime ->
't ->
'a socket ->
'a t Async.Deferred.t
val upgrade : _ t -> Gluten.impl -> unit
val shutdown : _ t -> unit Async.Deferred.t
val is_closed : _ t -> bool
val create_default :
?alpn_protocols:string list ->
([ `Active ], [< Async.Socket.Address.t ]) Async.Socket.t ->
[< Async.Socket.Address.t ] socket Async.Deferred.t