package tls-async

  1. Overview
  2. Docs
type t = Async.Reader.t * Async.Writer.t
val read : t -> Cstruct.t -> [ `Ok of int | `Eof ] Async.Deferred.Or_error.t
val write_full : t -> Cstruct.t -> unit Async.Deferred.Or_error.t
OCaml

Innovation. Community. Security.