package gluten-async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type socket = [
  1. | `Ssl_not_available
]
val create : read_buffer_size:int -> protocol:'t Gluten.runtime -> 't -> socket -> 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 ], 'addr) Async.Socket.t -> 'addr Async.Tcp.Where_to_connect.t -> socket Async.Deferred.t
OCaml

Innovation. Community. Security.