package gluten-async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t constraint 'a = [< Async.Socket.Address.t ]
type 'a socket = [
  1. | `Tls_not_available
]
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 -> ([ `Unconnected ], [< Async.Socket.Address.t ] as 'a) Async.Socket.t -> 'a Async.Tcp.Where_to_connect.t -> 'a socket Async.Deferred.t
OCaml

Innovation. Community. Security.