package gluon

  1. Overview
  2. Docs
val connect : Addr.stream_addr -> ([ `Connected of t | `In_progress of t ], [> `Noop ]) Rio.io_result
val close : t -> unit
val pp : Format.formatter -> t -> unit
val read : t -> ?pos:int -> ?len:int -> bytes -> (int, [> `Noop ]) Rio.io_result
val read_vectored : t -> Rio.Iovec.t -> (int, [> `Noop ]) Rio.io_result
val sendfile : t -> file:Fd.t -> off:int -> len:int -> (int, [> `Noop ]) Rio.io_result
val to_source : t -> Source.t
val write : t -> ?pos:int -> ?len:int -> bytes -> (int, [> `Noop ]) Rio.io_result
val write_vectored : t -> Rio.Iovec.t -> (int, [> `Noop ]) Rio.io_result
OCaml

Innovation. Community. Security.