package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Closed
type 'a polypipe
val create : int -> 'a polypipe * 'a polypipe
val length : 'a polypipe -> int
val eof : 'a polypipe -> bool
val read : nonblock:bool -> 'a polypipe -> 'a option
val write : nonblock:bool -> 'a polypipe -> 'a option -> unit
val close : 'a polypipe -> unit
val set_read_notify : 'a polypipe -> (unit -> unit) -> unit
val set_write_notify : 'a polypipe -> (unit -> unit) -> unit
val read_descr : 'a polypipe -> Unix.file_descr
val write_descr : 'a polypipe -> Unix.file_descr
val set_exception : 'a polypipe -> exn -> unit
val get_exception : 'a polypipe -> exn option
module Debug : sig ... end
OCaml

Innovation. Community. Security.