package gluten-lwt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type socket
type addr
val read : socket -> Bigstringaf.t -> off:int -> len:int -> [ `Eof | `Ok of int ] Lwt.t

The region (off, off + len) is where read bytes can be written to

val writev : socket -> Faraday.bigstring Faraday.iovec list -> [ `Closed | `Ok of int ] Lwt.t
val shutdown_send : socket -> unit
val shutdown_receive : socket -> unit
val close : socket -> unit Lwt.t
val state : socket -> [ `Open | `Error | `Closed ]
OCaml

Innovation. Community. Security.