package eio

  1. Overview
  2. Docs
include SHUTDOWN
type t
val shutdown : t -> shutdown_command -> unit
include SOURCE with type t := t
val read_methods : t read_method list
val single_read : t -> Cstruct.t -> int
include SINK with type t := t
val single_write : t -> Cstruct.t list -> int
val copy : t -> src:_ source -> unit

copy t ~src allows for optimising copy operations.

If you have no optimisations, you can use simple_copy to implement this using single_write.


Innovation. Community. Security.